开发者

UIWebView iPhone OS 4.0 can't view YouTube video

开发者 https://www.devze.com 2023-01-12 11:45 出处:网络
I used to have a UIWebView that links to our web page. This page contains a list of YouTube videos and when each video is played when a user selects on it.

I used to have a UIWebView that links to our web page. This page contains a list of YouTube videos and when each video is played when a user selects on it.

This app works well in iPhone OS 3.0, but it doesn't work on iPhone OS 4.0 anymore开发者_运维技巧.

I tried loading my web page on iPhone Safari, it doesn't work either. I tried this URL http://m.youtube.com on the iPhone Safari, all the videos can't be played. Is it a bug on iPhone OS 4.0? can I use UIWebView on 4.0 SDK?

Thanks.


I just found the answer, my iPhone was jail broken and I deleted the YouTube icon from the home screen. When I reset the device back to factory settings, and re-jailbreak it again. Everything works fine.

Still don't know the exact reason, but I assume that UIWebViewController uses some library from YouTube app folder.

0

精彩评论

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