I would like to know if there is any responsive video player for html5, that allows to play all or most of the formats. I have tried one called Jplayer, but it only accepts some mp4 formats, http://www.jplayer.org/latest/demos/
But what I'm looking for is a player in jquery or flash, or any good option, that is responsive, that allows you to play any video (mp4, avi, mpg, etc.)
The formats supported by the browser do not depend on the player you use but on the support that browsers give to the formats. Currently mp4 is the most supported with the H.264 and MP3 codecs , see the article Formats supported by browsers so what is usually done is to specify several formats in the tag
video
so that fallback can be done in case of that some of them cannot be used which can be done with the element<source>
In general, when none is supported or HTML5 is not available, what is done is to use plugins to be able to play, which is usually done with Flash and applets, but it has the disadvantage that if these are not installed, it will not work anyway.
Personally, I have used the video.js plugin with very good results because it allows you to have a uniform experience between browsers, you can even install it with bower
To use it, an HTML5 video tag is used just as if you were to use the native form
The video js takes care of the playback and the look and feel of the player, which is customizable and looks identical in all browsers!!! .
It also has a very good feature and that is that it supports plugins so if you have any special needs in your business logic you can use one of the ones that are already there or write your own.
Following the asker's comments, I suggest the following:
I just finished a RWD with video wallpaper (Background Fullsreen HTML5), from it I learned the following which I share my annotations.
Each browser plays HTML5 video in its own way and it will depend on the age of the browser and the codec installed on the browser's device. The older the browser the reproduction is worse. The order of the video formats that you want to present is important and will depend on the quality of the video you have. Here is some HTML5 video embed code:
For Responsive Web Design (RWD), you would have to use your programming skills or help with external plugins such as EasyHTML5Video .
Here I show you the browser support according to codec:
Nevertheless; Although we make a lot of effort to give the best to the visitor, in the end you might realize that it would be better to upload the video to YouTube and from there play it through its API . Since the YouTube player will serve the video according to the browser's characteristics. user, either by screen size, diameter, codex, resolution, etc.
Here an example:
In order not to write a lot of code, you can help yourself with Media Element by writing just this:
I think I am giving you enough information to help you in your project. The thing about RWD is design, it uses CSS2.1+ with HTML5+
Cheers