Does html5 video support flv out of the box on mobile phones (symbian, android, iphone)?

The goal is to support flv playback, not requiring a client side script, like actioncript.

Somebody knows?

+4
source share
6 answers

HTML5 video support is currently missing. Many browser manufacturers use different codecs (Safari / MS use H.264, Firefox Opera use Ogg / Theora). None of the browsers support the .FLV format for displaying videos .. FLV and .F4V are Flash Player formats. The main goal of HTML5 is to reduce the need for plugins, so Flash Video is not part of the specification. However, to answer your question: it depends on the browser implementation in the browser HTML5 specification and the choice of codec.

+5
source

This code does not work. Video tag does not support flv ext

<video> <source src"yourFile.flv" type="video/flv"> </video> 
+1
source

Nope.

I am not sure if any phones support FLV. Its the only really really recent Android phones that support Flash in general, I think?

0
source

I can say with confidence that the default browsers for phones running Symbian S60 5th ed., WInMobile up to 6.5, Android up to version 2.1 do not support HTML5.

0
source

FLV is a Flash video format (or a container) and has nothing to do with HTML5. While the video format for HTML5 was not harmonized, browsers currently support H.264 and Ogg Theora with the recently opened Google VP8 codec and packaging it in a WebM container. Technically, a browser can support flv through an HTML5 <video> element, but this will never happen. Thus, browser support:

  • Firefox 3.6 - Ogg Theora
  • Firefox 4.0 - Ogg Theora + WebM
  • Chrome 5.0 - H.264 + Ogg Theora (WebM Coming Soon)
  • Safari 4/5 - H.264
  • Opera 10.5 - Ogg Theora (I think WebM is coming soon)
  • IE9 - H.264 (supports WebM if installed by the user)

To answer your question, if you want to play .flv videos, you are stuck using Flash. I'm afraid. If you want to use HTML5 video, now you can create an HTML5 video player that degrades to Flash support if the user does not have an HTML5 browser. This would mean converting your videos to H.264 and / or Ogg Theora, as well as the convenience of using flv, so you might run into multiple video files in different formats, taking up disk space.

EDIT: I noticed that you mean mobile phones, not desktop browsers. I know that Safari on iPhone supports H.264, Android supports H.264 (I'm sure WebM will appear on Android devices), Windows Mobile 7 will most likely support H.264. I am not sure about that.

0
source

I'm not sure if this helps or not. But I found that if the client has DIVX PLUS WEB PLAYER installed (free to download), it plays many video ads, and they are all the same. Below is sample code that worked.

LINK: http://www.divx.com/en/software/divx-plus/web-player

 <head> <!-- WEBSITE INFORMATION --> <title></title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="description" content="DESC" /> <meta name="keywords" content="KEYS" /> <!-- STYLE SHEET LINKS --> <link rel="stylesheet" type="text/css" media="screen" href="css/mycss.css" /> <link rel="shortcut icon" href="images/myIcon.ico" /> <!-- SCRIPT TO LOAD WEBSITE --> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="js/jquery-1.7.js"></script> <script type="text/javascript" src="js/myjs.js"></script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> </head> <body> <video width="320" height="240" controls="controls"> <source src="http://www.myweb.com/video.flv" type="video/mp4" /> <source src="http://www.myweb.com/video.mp4" type="video/mp4" /> <source src="http://www.myweb.com/video.avi" type="video/mp4" /> Your browser does not support the video tag. </video> </body> 

Check it out for yourself, maybe I was just lucky or something like that. But it worked for me in the past. I don’t know why, I can’t explain it, I just know that it worked.

0
source

Source: https://habr.com/ru/post/1313143/


All Articles