Firefox error with Video JS

雨燕双飞 提交于 2019-12-13 04:29:32

问题


I am getting an error in Firefox (ver 22/23) that says:

Specified "type" attribute of "video/mp4" is not supported. Load of media resource xxxxx failed.

Is this repairable?


回答1:


It's all about MIME types. When you specify type attribute on your video source - you also need to make sure your server understands what that types of files actually mean.

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Add these lines to your server's .htaccess file and you'll be up'n'running.

For any additional information related to video conversion/playback - check out this article



来源:https://stackoverflow.com/questions/18016024/firefox-error-with-video-js

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!