【问题标题】:Firefox reports "No Video with Supported Format and Mime Type Found"Firefox 报告“未找到支持格式和 Mime 类型的视频”
【发布时间】:2015-11-28 22:33:05
【问题描述】:
此代码适用于 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>
【问题讨论】:
标签:
html
firefox
video
html5-video
mime-types
【解决方案1】:
您需要检查 Firefox(与任何其他浏览器一样)在使用 HTML5 时可能存在的限制。
HTML5 世界在不断发展,某些功能、编解码器等缺少的支持最终将在未来迟早推出。
同时,在以下页面查看 Firefox 的功能:
在撰写本文时,它在 555 中的总得分为 465,其中 29 在 33 中得分strong> 视频播放。
具体来说,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 ✔
然后
- 在无法重现时为用户提供下载视频的链接,或者
- 使用其他播放器作为后备,或
- 转换您的视频,或
- 随便。
另请阅读Mozilla’s article on supported media formats。