至于现在我一直在使用我在互联网上找到的这个解决方案在 uiwebview 中加载一个 youtube 视频
[_youTubeView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.youtube.com/embed/XeIKnBDN4To"]]];
当它播放时,它会以纵向模式进入全屏并运行视频,但会抛出此错误
setting movie path: http://r1---sn-uxajvoxu-btxe.c.youtube.com/videoplayback?itag=18&sver=3&
expire=1361830325&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1361804717&mv=m&id=5de20a9c10cde13a&upn=0EXPt7MQ7SY&cp=U0hVRlhOTl9HT0NONV9QSFJEOmFndEpDMDA3Q21k&
source=youtube&newshard=yes&ms=au&key=yt1&ip=186.3.143.22&
fexp=917000%2C909708%2C900504%2C900222%2C916625%2C902544%2C920704%2C912806%2C902000%2C922403%2C922405
%2C929901%2C913605%2C925006%2C906938%2C931202%2C908529%2C920201%2C930101%2C906834%2C926403%2C901451&
ratebypass=yes&ipbits=8&cpn=_--u0dVaHxrCxseN&
signature=6E11DBCDC8A2585C102A4A1191636C129D04561D.84546ADF1034D266AE4258360BBBC59D0D1FD9BB
这是加载 youtube 视频的正确方法,以及如何避免进入全屏模式?