This document discusses the ways to play the video on iOS devices including the plugins we need and UI customization through skins. The players are tested on an initial release of ipad.
Examined JWplayer versions 5 and 6.
Not usable for us on ipads.
Usable for us on ipads. With some minor code changes we can have this working for us. But as this is not free we need to examine some alternatives as well.
Usable for us on ipads and this is free. Seems to be the best available option at the moment.
We need to use apple HLS to stream videos to all iOS devices. This is supported on Safari on recent versions of Mac OSX (> snow leopard). HLS is also supported on all Android devices with android version greater than 4 (4.x + ) on Google chrome.
We completely support HLS on all iOS devices and using chrome on all android 4.x + devices at the moment in Learexa. On all the mobiles when streaming is not supported, videos play with download in Learnexa at the moment.
HLS is supported by apache 2+ and nginx (with a plugin) servers. m3u8 is the playable video list format.
This is done using the latest ffmpeg (1.2) which also supports segmentation.
Setup Instructions - https://wiki.exphosted.com/doku.php/software_versions#install_ffmpeg_12_magic
Add the following mime types in apache config file (httpd.conf)
AddType application/x-mpegURL .m3u8 AddType application/vnd.apple.mpegurl .m3u8 AddType video/MP2T .ts
As mentioned above HLS works on Android 4.x + on Chrome. This is supported in Learnexa. In case we want to support streaming on other browsers or on Android earlier versions (<4) flash is required.
http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android/
http://support.brightcove.com/en/video-cloud/docs/delivering-videos-apple-hls
Observed that HTML5 videos does not play on ipad when we use Webrick as the rails(2.3.5) server(Does not really depend on mime types we set in rails app). The above testing is done with Passenger configured with Apache.