YouTube iframe api behavior on Chromecast

后端 未结 3 1320
花落未央
花落未央 2021-02-11 01:31

Trying to get a YouTube video playing on Chromecast, not using the YouTube receiver but simply the iframe YouTube api. When the receiver url is loaded in a desktop chrome browse

3条回答
  •  青春惊慌失措
    2021-02-11 02:04

    Here's the code I'm currently using on my receiver. The message handling (both directions) is hit and miss, and I'm currently working through that ... but the loading of the iFrame library, the embedding of the video, etc. all works. If it doesn't work on your end, we can start to investigate how your setup might be different. I've tried to add comments where it might be helpful.

    
    
    
    
    
    
    
    

提交回复
热议问题