当前位置: 代码迷 >> 综合 >> YouTube embed gives “restricted from playback on certain sites” error despite API metadata indicatin
  详细解决方案

YouTube embed gives “restricted from playback on certain sites” error despite API metadata indicatin

热度:23   发布时间:2024-01-11 22:34:12.0
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
  相关解决方案