In my application I have a UIWebView that is able to play Youtube videos normally, but I'd like to play some videos from a website other than Youtube.
If i try to play those videos in the iPhone Safari browser it opens in the same way that YouTube videos (fullscreen mode, showing the player), but that doesn't happen in the UIWebView inside my application.
As an example, consider the following URL: http://m.video.globo.com/#video.php?id=1174097 (don't forget to open it in the simulator)
I didn't have to download any plugin or application to play it.
Both JavaScript and Plug-Ins options in the iPhone Settings are turned on.
Is there something wrong with my UIWebView? All I'm doing is loading the webpage using the "loadRequest" method from UIWebView class.
Thanks in advance.
The iPhone has support for youtube videos, (hence the built in youtube player), other than that it supports only quicktime. There is no support for other formats: most sites use flash for video these days (inc youtube), but flash is not supported on the iPhone. I site embedding a youtube video will work, but one embedding a video hosted elsewhere will not (unless its quicktime)
Related
Can anybody help me for this. I can't play any video on my app.
I created a web app it includes youtube videos. But android app doesn't play videos.
Video object of Smartface App Studio can play directly video files.
If you assign youtube links it will not working if you don't know the exact video path.
But, I suggest you to use WebView component to show Youtube videos and pages.
I am playing videos through my asp.net application on desktops and mobile phones as well.
I have a code which is written in html using video tag. I send URL to user to play a video and it works totally fine on desktop's including Mac as well. I have tried accessing it on Samsung galaxy SII phone which has got android os in it. my video works on it with no issues but when I try to access that URL on iPhone player.aspx gets load properly but it just doesn't play the video.
Video is in .mp4 format.
I am playing it in IPHONE on safari browser.
Can anyone please help me regarding it.
Thank you
I have embedded YouTube videos in my application and they are working fine .But when I tried to embed Google videos into my application , blank screen appears.
I would like to know the reason.
Google videos uses flash which the iPhone does not support. If would like to load a non YouTube video, set the URL to a plain mp4 file.
I am using the gdata library in my iPhone app to search for some youtube videos. Now most of the videos come up fine but some videos are not compatible for playback with the iPhone. I am using a webview to embed the video.
In case of videos which cannot be played on the iPhone, they show up in the webview without a preview and just a play button with a cross.
I could not find anything in the YouTube API which would let me get only those video results that are playable on the iPhone. Anyone know of a solution?
Thanks.
Identifying iPhone-playable YouTube videos has been discussed in the GData mailing lists, such as here
I'd like website viewers to be able to play a video on an iphone, without posting the video to youtube, and without them having to install any iphone apps. Are there any other options here?
If you host a Quicktime movie, it'll play just fine without any additional software. There is a "designing web pages for the iPhone" document somewhere on Apple's web site that gives more detail on supported formats, I think.
just having a link to a quicktime-playable video file works I believe