![]() |
|
html5 video player best practice - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: html5 video player best practice (/thread-12175.html) |
html5 video player best practice - dendraya - 2015-03-26 hi, I want to migrate all my videos from flash based playback to one which uses html5. Because of flash support being dropped in favour of html5-video, I would like to migrate to html5-based videos, but I'm not quite sure what's the best way to do so. I'm just curious what you guys would suggest is the way to go - I don't want to change everything in a year again . A little bit offtopic: Does anyone have experience with video.js [2] or projector [3] - how do they compare to jplayer? [1] http://en.wikipedia.org/wiki/HTML5_video#Browser_support html5 video player best practice - acrylian - 2015-03-26 The h.264 licensing issues have been resolved as far as I know. Even Firefox now supports it therefore. The best pracice is still to provide mp4/m4v files and the appropriate counterpart webm and ogg formats just like jPlayer does. Here are a good tables: [i]what would be really nice to have is the ability to dynamically choose an appropriate quality, which can be overwritten by the user, though.[/i] Quick overview: Good table comparison here: Both jPlayer and mediaelementjs had been chosen because they provide both video and audio and playlist support (well, mediaelementjs does not really) html5 video player best practice - MarkRH - 2015-03-27 Hmm.. I should make all my .flv videos into .mp4 so the HTML5 stuff gets used with Jplayer. Tried mediaelements on my stand-alone website. Will have to try out Jplayer as well. Tried JWPlayer but a goofy logo is always there on the free version. html5 video player best practice - acrylian - 2015-03-27 JW Player is open source but not really free and open source software as it is free only for non commercial use. It is a great player still probably but exactly this licensing was the reason we had to drop support for it years ago. Similar to Flowplayer5 which is still free and open source but different to the old flash based version has no audio support anymore. html5 video player best practice - dendraya - 2015-03-27 Quote:The best pracice is still to provide mp4/m4v files and the appropriate counterpart webm and ogg formats just like jPlayer does. Quote:Good table comparison here: html5 video player best practice - acrylian - 2015-03-27 Quote:That means i do not need a .flv file for flash fallback - i.e. the flash-version of jplayer can play the m4v(h.264/aac) files as well? The playlist support in the mediaelementjs plugin is rather basic and a third party solution as its dev for unknown reasons does not provide an official included playlist plugin. Just like jPlayer does (which also takes audio and video in one playlist, too). Quote:what i really need is that if the page is loaded (in my case it just loads the video via ajax) the video starts playing automatically On mobile devices as far as I know autoplay does not work anyway. html5 video player best practice - dendraya - 2015-03-28 Quote:That means i do not need a .flv file for flash fallback - i.e. the flash-version of jplayer can play the m4v(h.264/aac) files as well? That means, in the end i need three files (.flv, .m4v, .webmv) of the same video to make it work in (almost) every browser? Quote:As we speak of best practices: I don't know your site but autoplaying of video or audio is rather bad practice ;-) html5 video player best practice - acrylian - 2015-03-29 Quote:That means, in the end i need three files (.flv, .m4v, .webmv) of the same video to make it work in (almost) every browser? Regarding autoplay: Of course it can make sense on specific sites and of course you know best what is right for your site, just wanted to mention it ;-) |