HTML 5视频播放器无法在Firefox中运行,无控制台错误

时间:2013-06-27 23:07:55

标签: html html5 firefox html5-video

此页面在此处显示为Facebook页面:https://www.facebook.com/PruProtectUK/app_212796208869431

我已经四处寻找修复程序,最初我遇到了常见的问题内容/文本等等,所以我为此实现了HTAccess修复程序。

但是视频仍然无法在Firefox中播放,任何人都可以看到原因吗?

视频代码:

<video controls="yes">
<source src="https://xxx.xxxx.co.uk/xxxx/facebook/wp-content/uploads/2013/06/ChanceToRide_CustomerVersionFB3.mp4">
<a href="https://xxx.xxxx.co.uk/xxxx/facebook/wp-content/uploads/2013/06/ChanceToRide_CustomerVersionFB3.mp4">Not supported</a>
</video>

1 个答案:

答案 0 :(得分:0)

我得到的错误似乎是不言自明的:

[00:47:42.932] HTTP "Content-Type" of "video/mp4" is not supported. Load of media resource https://fapps.wrdadmin.co.uk/pruprotect/facebook/wp-content/uploads/2013/06/ChanceToRide_CustomerVersionFB3.mp4 failed. @ https://fapps.wrdadmin.co.uk/pruprotect/facebook/
[00:47:42.933] All candidate resources failed to load. Media load paused. @ https://fapps.wrdadmin.co.uk/pruprotect/facebook/

如果您希望它在Windows 7或8以外的任何其他设备上运行,那么您需要转码为其他格式,如WebM。