I don't think iOS can handle preload / autobuffer of html5 videos. Is this correct, or can anyone else tell me how they've managed to do it?
Clarification:
I want the content of the video to begin downloading before the play button is clicked.
Is it do do with this: how to get your HTML5 MP4 video file to play before being fully downloaded? As it usually is.
You can't. Some mobile devices like iOS devices will not preload the video in order to protect their users' bandwidth. Same restriction for the same reason to autoplay attribute
Related
I am using JW Player in my Ipad app. When I checking in the browser the vast tag is playing fine and after that content is loading.
But unlike that in Ipad VAST tag not playing and do skipped. Then content video is playing. I am using a crossdomain URL for VAST tag. But I have given the Access Control Allow Origin. But there is no good sound.
Is anyone experienced in this..?
Thanks in advance.
What kind of ad creative is returned by your ad tag? If it is a .swf or .flv, then it will not play on an iPad or any mobile device. Make sure to request MP4 or VPAID 2.0 ads from your ad network. You will also need JW Player 7.1 or higher for VPAID 2.0 support.
We love Stack Overflow, but we don't check for new posts very often. If you want support from JW Player directly, please go to http://jwplayer.com/support/
I know about how to play video in device. But Here I just want to know that is it possible to get streaming URL from any YouTube Video? Then how can I do it, I tried to search on google but I can not able to find my solution.
Generally I does not want to play direct stream from video, actually I want to save this URL (stream) in my buffer memory OR whatever temporary file and whenever user click on particular button then particular URL Stream is play.
Al Last I got YouTube APIs + iPhone = Cool mobile apps. But I am not sure that it's helpful in my case or not ? If anybody who worked on this API then please suggest me, Otherwise How can I get streaming URL.
Your suggestion will be appreciated.
Thanks in advance.
http://www.youtube.com/get_video_info?&video_id={VIDEO_ID}
This will not work on all files, some will display the message "This+video+contains+content+from.....". But many will work.
Is it possible to get streaming URL from any YouTube Video? - No, it is not possible without hurting the terms of service of youtube. Google has built the business model of youtube around the advertisements all over youtube, in-video banners and video ads and they want your user to see their ads. This is the reason they completely hide the video stream and would ban your app if you anyway access and stream it directly.
The only consented way to play youtube videos on iOS is to embed it into an iframe of a web view.
I am writing application to show youtube videos.
In WPF on windows 7 I use WebBrowser control and it works fine. But when I use WinRT WebView control to show swf file from youtube - it doesn't work. Only clear white screen.
I use approach like that : http://blog.tedd.no/2010/06/27/embedding-youtube-in-wpf-webbrowser-control/
What shall I do to have an oppotunity to show videos in Metro Style Application?
Thank you
try this one from the mytoolkit library: http://mytoolkit.codeplex.com/wikipage?title=YouTube
The default youtube video player (unless the user has opted into the HTML5 preview) is a Flash video control. Flash is not supported in the Windows Application Store ("Metro") shell version of IE, or in the WebView control.
But what you can do is request youtube to use the HTML5 video player (HTML5 video is supported by the App Store version of IE and WebView). For example, this video does play properly for me:
<WebView Source="http://www.youtube.com/watch?v=cTl3U6aSd2w&html5=True" />
So you should be able to embed a video using a webview, you just have to force the webview to use the HTML5 viewer. This can also be done as a parameter to the embed URL: see Force HTML5 youtube video
However, this setting only says to prefer the HTML5 player. Youtube may still attempt to use the flash player on some videos, which will not work in all cases.
You can alternatively also play the video through "mediaelement" to play youtube video, though you'd have to parse the youtube video stream first. See my W8 app "RedditTV"
I'm currently building a Rails app, where a user can upload an mp3 and listen to it. I'm using paperclip for the data upload, but I'm not sure how I'd arrange the playback of the soundfile, so that it can be used on a mobile phone as well (so no flash).
Thoughts?
The two main cross-browser media playback frameworks are jPlayer and SoundManager.
Both will handle playback of your audio, regardless of device. Both will play the audio using either HTML5 or Flash according to
which solution is available
which solution you specified as higher priority (e.g. use HTML if available, Flash if not)
I'm using JW Player and I'm very happy about it. There is a HTML 5 mode that runs on newer mobile devices like the iPhone.
Has anyone found a way to easily embed ustream video within a iphone or ipad app? I have sent emails to the ustream support, but no response. I really dont want to run through ffmpeg or anything.
The easiest way is by just opening the embed URL (e.g. http://www.ustream.tv/embed/10638475) using a UIWebView. This will use HTTP Live Streaming on iOS.
Alternatively you can use a URL like http://iphone-streaming.ustream.tv/uhls/10638475/streams/live/iphone/playlist.m3u8 to initiate an AVPlayerItem and use an AVPlayer and AVPlayerLayer to play the stream within the app's UI (very useful if you don't want it to be full screen).
Try:
<iframe id="UstreamIframe" src="http://www.ustream.tv/embed/10638475"></iframe>