YouTube API onPlayerReady not firing

后端 未结 3 1212
鱼传尺愫
鱼传尺愫 2020-12-09 09:26

I created a new page especially to test the API. When copy pasting their example with

and

         


        
3条回答
  •  囚心锁ツ
    2020-12-09 10:04

    Also experienced this issue in one of our apps earlier today, I believe it's as a result of some internal changes / code push in youtube. Something similar happened in June c.f YouTube iframe player API - OnStateChange not firing

    I resolved my issue by replacing

    
    

    with

    thus letting the js script replace the div.

    The clue was in your questions, so thanks.

提交回复
热议问题