本文主要是介绍YouTube embed gives “restricted from playback on certain sites” error despite API metadata indicatin,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
NSDictionary *playerVars = @{@"origin" : @"http://www.youtube.com",};
[self.playerView loadWithVideoId:@"KOvoD1upTxM" playerVars:playerVars];
参考网站 https://youtube-eng.googleblog.com/2011/12/understanding-playback-restrictions_28.html
https://stackoverflow.com/questions/13407482/youtube-embed-gives-restricted-from-playback-on-certain-sites-error-despite-ap/39650091#39650091
这篇关于YouTube embed gives “restricted from playback on certain sites” error despite API metadata indicatin的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!