By setting the origin property in my playerVars I was able to play the embedded video.let playerVars = [ "playsinline" : 1, "showinfo" : 0, "rel" : 0, "modestbranding" : 1, "controls" : 1, "origin" : "https://www.example.com" ]然后像往常一样调用 loadWithVideoId::.Then call loadWithVideoId:: as you normally would. 这篇关于使用 YTPlayerView 在 iOS 中播放嵌入的 YouTube 视频失败并出现限制错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-30 04:44