I get a feed which consists of a URL pointing to the videos from sites like youtube, metacafe etc.
I found this post suggesting how to use UIWebView to load the video into the app. However I don't want the video to play in full screen mode. I want it to play in the frame I have allocated for it.
How do I make the youtube video which is loaded by embedding html into the uiwebview play in the frame allocated to it and not in full screen mode?
How do we play videos from sites like metacafe and comedy central and other sites where url doesn't point to a file but instead loads a player if pasted on browser.
Are there any applications which have achieved to play the same as a native iphone app?
Any help in this regards would be greatly helpful.
EDIT: I want to know how do we play a video from the url say - http://www.dailymotion.com/swf/video/xe1l96
I would like to know how to play the video in the webview itself. I want to use the space around it to display other information. Currently it forces full screen mode.
Safari is able to play dailymotion and vimeo videos by lauching the quicktime player. So I would like to know how to redirect to play the videos using quicktime player.
How do I play videos from youtube and metacafec in a native iphone app?
Basically, i had to show thumbnails in table cell
Praveen,
Your video will always play full screen on iPhone & iPod. The mentioned flag (
allowsInlineMediaPlayback
) only works on iPad...YouTube is easy. Just set the UIWebView's
allowsInlineMediaPlayback
property to YES.The other stuff is just a flash player that wraps around a video. It's going to be harder, and probably not worth it without the backing of the site in question.
Good luck, and if you need any more help just comment/edit your question.