Firefox报告"没有支持格式的视频和发现的Mime类型"

Nav*_*rya 5 video firefox html5 html5-video mime-types

此代码工作得很好的MP4视频,但它并没有为工作.3gp,.avi.flv文件.

<video width="320" height="240" controls>
  <source src="<s:url action='downappsuservideo'> 
                   <s:param name="id" value="#session['id']"/>
               </s:url>" >
  Your browser does not support the video tag.
</video>
Run Code Online (Sandbox Code Playgroud)

And*_*ios 9

您需要检查Firefox(与任何其他浏览器一样)在使用HTML5时可能具有的限制.
HTML5世界不断发展,一些功能,编解码器等的缺失支持最终将在未来很快或稍后推出.

同时,在下一页中查看Firefox的功能:

HTML5测试


在写这篇文章的时候,它的分数整体465555,其中29出的33对视频回放.

具体而言,CODEC情况如下:

MPEG-4 ASP support    : No  ?    
H.264 support         : Yes ?
H.265 support         : No  ?
Ogg Theora support    : Yes ?
WebM with VP8 support : Yes ?
WebM with VP9 support : Yes ?
Run Code Online (Sandbox Code Playgroud)

然后

  • 在不可重现时向用户提供下载视频的链接,或
  • 使用其他玩家作为后备,或者
  • 转换您的视频,或
  • 随你.

另请阅读Mozilla关于支持的媒体格式的文章.