异常问题:Youtube iOS播放器助手“在某些站点上无法播放".讯息,但可在Android上使用 [英] Unusual issue: Youtube iOS player helper "restricted from playback on certain sites." message, but works on Android

查看:125
本文介绍了异常问题:Youtube iOS播放器助手“在某些站点上无法播放".讯息,但可在Android上使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题似乎是,但显然没有(至少在堆栈溢出时).当我尝试将某些视频嵌入到iOS应用中时,使用Youtube iOS帮助器API出现以下错误.

I know this question seems to have been asked before, but it apparently hasn't (at least on stack overflow). I get the following error using Youtube iOS helper api for certain videos when I attempt to embed them in my iOS app.

该视频包含VEVO的内容.在某些站点上不能播放."

"This video contains content from VEVO. It is restricted from playback on certain sites."

下面的错误是很容易解释的……似乎您对此无能为力.我可以忍受这一点.但是还有更多.

The error below is fairly self explanatory... and it appears that there is nothing you can do about it. I can live with that. But there is more to it.

我对这个消息感到困惑(它指的是Youtube上的任何VEVO音乐视频),原因是这些视频在Android上播放.其他人也有此问题...在这里声明: https://github.com/youtube/youtube-ios-player-helper/issues/52

The reason I am puzzled by this message (and it refers to any VEVO music video on Youtube) is that the videos play on Android. Someone else has also had this problem... stated here: https://github.com/youtube/youtube-ios-player-helper/issues/52

如果在其他站点上有限制-可能存在限制-应该在iOS和Android设备上都对其进行限制.该限制仅适用于iOS,我感到非常奇怪.

If there is a restriction on other sites - and there may well be - it should be restricted on both iOS and Android devices. I find it highly odd that the restriction applies to only iOS.

有人可以建议吗?

干杯!

推荐答案

将此添加到播放器中Vars @"origin":@" http://www.youtube.com ".我遇到了同样的问题..我用playvars解决了这个问题

add this in your playerVars @"origin" :@"http://www.youtube.com" it will work. I had the same problem.. i solved it using playvars

这篇关于异常问题:Youtube iOS播放器助手“在某些站点上无法播放".讯息,但可在Android上使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆