YouTube video in UIWebView
I have set up a UIWebView to show my YouTube's Channel, I'm using this code
[youTube loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.youtube.com/v/user/MyChannel/"]]];
This work when I build and go on the simulator but when I want to play a video on my device, the video never show up...
The console say that when I compile with my device
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0 (9A5313e)/Symbols/System/Library/Internet Plug-Ins/QuickTime Plugin.webplugin/QuickTime Pl开发者_Python百科ugin (file not found). warning: No copy of QuickTime Plugin.webplugin/QuickTime Plugin found locally, reading from memory on remote device. This may slow down the debug session.
I think I have to install the QuickTime Plugin ? I don't really know what I have to do..
Thanks !
You're using a Simulator. Youtube videos are not supported on the simulator. Test yout code out on a device. Please check this answer on how to embbed youtube videos correctly. Embedding YouTube videos on
To actually read the channel, I think you can use either the RSS feed for your channel or the youtube data api and parse this, than let the user choose the sperate Videos
精彩评论