开发者

Not all embedded Youtube videos play on iPhone app

I've been using the standard method to embed a Youtube video in a UIWebview as a thumbnail to give the appearance of playing the video in the iPhone app.

But many times the video either gives a broken play button or returns after 1 minute or so that the video could not be played.

I assume this is because the poster either didn't 开发者_C百科make the video public yet, or maybe it hadn't been converted to iPhone format yet? Anyway, is there any way to check for this in the API JSON or Atom feed? I looked thru every tag and couldn't find anything that would clearly confirm the video is not playable on the iPhone.


The iPhone does not natively support flash, so I don't see why it could support rendering the youtube player within a UIWebView. Perhaps you should try using an .mp4.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜