Firefox 报告 "No Video with Supported Format and Mime Type Found"

Firefox reports "No Video with Supported Format and Mime Type Found"

此代码适用于 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>

您需要检查 Firefox(与任何其他浏览器一样)在使用 HTML5 时可能存在的限制。
HTML5宇宙在不断进化,缺少的部分功能、编解码器等支持,迟早会推出。

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

HTML5 TEST


在撰写本文时,总分 465,总分为 555,其中 2933 视频播放。

具体来说,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 ✔

然后

  • 给用户 link 在无法重现时下载视频,或者
  • 使用其他玩家作为后备,或者
  • 转换您的视频,或
  • 随便。

另请阅读Mozilla’s article on supported media formats