YouTube iFrame API hangs in buffering state after the playVideo() command on iPad

后端 未结 1 2052
梦谈多话
梦谈多话 2021-02-06 01:06

I have a problem with the iFrame API on the iPad (iOS 7, Safari browser). When I try to start the video with the \'player.playVideo()\' command, the player goes to black and ret

相关标签:
1条回答
  • 2021-02-06 01:49

    Try the autoplay feature if hitting the big red button is not a compulsion, i have done so by adding "event.target.playVideo();" to the onReady function in the embeded HTML body. My player shows the big red button and starts itself immediately. I have used the latest ios helper availble on GitHub youtube-ios-player-helper. It is also mentioned on the google developers site Using the YouTube Helper Library to embed YouTube videos in your iOS application

    0 讨论(0)
提交回复
热议问题