没有找到支持格式和 MIME 类型的视频.这是什么意思,我该如何改变它 [英] no video with supported format and MIME type found. What does this mean and how can I change this

查看:98
本文介绍了没有找到支持格式和 MIME 类型的视频.这是什么意思,我该如何改变它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有找到支持格式和 MIME 类型的视频

no video with supported format and MIME type found

显示视频的大屏幕并显示上面的消息.我该如何解决这个问题?这种情况只发生在 Mozilla Fire fox 中,而不是在 Google Chrome 中.我正在使用 webm 视频和 mp4 视频.

A huge screen for video is displayed and says the message above. How do I solve this? This happens to me only in Mozilla Fire fox and not on Google Chrome. I am using webm videos and mp4 videos.

这是用于 html5 视频.

This is for html5 video.

推荐答案

网络服务器可能没有发送正确的 MIME 类型.根据服务器的不同,您可以添加一个 .htaccess 文件,其中包含以下内容:

The webserver might not be sending the correct MIME types. Depending on the server you may be able to add a .htaccess file with the following:

AddType video/webm .webm
AddType video/mp4 .mp4

如果这不起作用,请尝试搜索服务器 MIME 类型".

If that doesn't work try searching for "server mime types".

这篇关于没有找到支持格式和 MIME 类型的视频.这是什么意思,我该如何改变它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆