Html5 player supporting mp4 xvid avi flv? - html

As i said in the question, i am looking for a html5 player which supports:
Avi
mp4
xvid
flv
Any suggestions?

You aren't going to find a HTML5 player which supports the formats you listed. You can find a chart here showing which browsers support which codec. AVI and XVID aren't supported by any browser, you can however get around playing flv by using a flash player.

Related

How does HTML5 support m3u8 playlist?

I'm finding a way to play the m3u8 playlist with pure HTML5/JavaScript. HTML5 should not rely on flash to support HTTP Live Stream.
Are there any HTML5 player that support m3u8 without flash and other fallbacks?
At the very least, Safari on iOS does support HLS in the video element.

How to Play FLV Video in HTML Video tags?

I have had a look at a couple of players like Flow Player, JW Player and a couple more but I can't get it to work exactly in PHP code.
Is there any way to play FLV within HTML Video Tags?
I know MP4 and OGG files will but the thing that I am working on will produce an FLV file.
You should look at video.js from www.videojs.com I have been using it streaming live video feeds. It mimicks the video tag like this:
<video id="example_video_1" class="video-js vjs-default-skin"
controls preload="auto" width="640" height="480"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"example_option":true}'>
<source src="rtmp://localhost/live/test" type="rtmp/flv">
</video>
Works very well for me.
You might consider using some other players that are able to play FLV files; Known browsers (Chrome, Firefox etc...) are not able to run FLV files untill or unless you use some kind of flash player.
If you are using PHP, you might want to use a flash player! Use Adobe Flash Player, don't be shy! YouTube and many other websites use it.
You can also try to stick to the flayers you have already tried.
You can convert videos to MP4 or format of OGG. So that every browser can play the video file using the HTML5 <video></video> tag.
But Remember: Each browser has its own limitaion for playing a video file; you can read browser support here: Mozilla Developer Network
Play it with Flash. I think it is the only way: http://css-tricks.com/forums/topic/how-to-play-flv-in-html5/
You can do it using flv.js or via MediaElement.js (that will use flv.js underneath), although the support is limited to FLVs that contain H.264 video with AAC/MP3 audio.
Use MediaInfo software or your favorite video player to check what codecs are used in your FLVs.
And if you have H.264 + AAC inside, you can also convert it to MP4 losslessly, without reencoding:
ffmpeg -i input.flv -codec copy output.mp4
Technically speaking the HTML5 video specification is codec/protocol agnostic so one could imagine support for flv files could be possible. Problem is: none of the major web browser has implemented it (probably because flv is a proprietary container from Adobe). You will need a flash component to play it back. Either one of the players you mentioned or if you are looking for a standalone free flash player try strobe from Adobe. You can try it here.
If you can produce .f4v files you may have success in renaming them to mp4 and then try and play them in an HTML5 video tag.

HTML5 video player with flash fallback with only mp4

Can anybody help me setup a HTML5 video player with fallback on flash and only using mp4 video files? The file should be supplied from a URL (like http://www.resursecrestine.ro/download/41323).
Thank you!
You might want to look into videojs. It supports MP4 and more, and has a lightweight Flash fallback.

Play .mp4 videos using HTML5

How can I play .mp4 videos using HTML5 using the video tag? Does chrome support HTML5 with .mp4 videos?
Safari can play h264 encoded mp4 videos, Chrome nolonger supports them, Firefox never did. If you pick Google's WebM format, it will work in both Chrome and Firefox.
chrome does support MP4 video with H.264 video codec, But it can only play video with "Baseline profile" of H.264.
The state of media currently with browsers is that you will likely not find a format that works with all browsers, so you will need to encode your video/audio in at least 2 or 3 different formats. There is a nice jQuery plugin called jPlayer that I would heartily recommend if you're going to start out with HTML5 media. The documentation is pretty good and it will really help you work with different browsers. http://jplayer.org/.

Does FlashPlayer 10 support MP4 and AAC audio codecs in addition to MP3?

I am developing an Audio Player application in Adobe AIR with Flex SDK 3.2. I wanted to know if i can play songs in other audio formats?
I think Flash Player can play AAC but not AAC+. All the radio stations are using AAC+ because it is updated than AAC. Let me know if I am correct
Although Adobe's site says, Flash Player 9 Update 3 onwards supports AAC and MP4 also, i am not able to play them when i tested. So i think its safe to say that, Flash Player will only support MP3 and WAV files to play sounds.