Firefox不会在HTML5视频中播放mp4文件

时间:2016-01-21 10:11:23

标签: html5 firefox ffmpeg html5-video

我用我的手机录制了一个视频格式为" .mp4"。现在,如果我在HTML5视频代码中加载该视频,则会收到错误HTTP "Content-Type" of "video/3gpp" is not supported.为什么Firefox会将该文件视为3gpp,尽管它是mp4文件? 如果我在将文件属性加载到浏览器时将其记录下来,我会看到以下内容

{ name: "test.mp4", lastModified: 1434536249000, lastModifiedDate: Date 2015-06-17T10:17:29.000Z, size: 41151959, type: "video/mp4" }

这意味着firefox仅将类型标识为mp4。但是没有发挥它给出错误HTTP "Content-Type" of "video/3gpp" is not supported.

1 个答案:

答案 0 :(得分:0)

尝试使用其他编解码器将mp4转换为mp4。我推荐xMediaRecode。如果转换后的文件有效,则必须与您的移动设备有关。

相关问题