Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 691
Alexander Nazarkin Avatar asked Aug 24 '13 01:08

Alexander Nazarkin


People also ask

How can I play FLV file in HTML?

Insert an SWF object into your HTML and assign the FLV in the attributes as the video that will play. Insert an SWF object into your HTML and assign the FLV in the attributes as the video that will play You're going to have to be a bit more concise please?

How do I play FLV videos?

How to Play an FLV File. Files of this format are usually created using the Flash Video Exporter plug-in included in Adobe Animate. Therefore, that program should open FLV files just fine. Other FLV players include VLC, Winamp, and MPC-HC.

Can Chrome play FLV files?

The reason for that is Chromebook natively does not support FLV files for playback. To play FLV files on Chromebook, you need to convert FLV to Chromebook compatible video format.

Can you still play FLV files?

Unfortunately, Adobe has discontinued all support for Flash and Flash Player is no longer supported by any of the major web browsers. You can open FLV files in third-party media players like VLC on PC and Mac, or PlayerXtreme on iPhone and Android devices.


1 Answers

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.

like image 112
Ron Avatar answered Sep 22 '22 06:09

Ron