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

问题描述

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



显示一个巨大的视频屏幕,并显示上面的消息。我如何解决这个问题?
这只发生在Mozilla Fire Fox中,而不是Google Chrome上。我使用的是webm视频和mp4视频。



这是html5视频。 div>

Web服务器可能不会发送正确的MIME类型。根据服务器的不同,您可以添加一个.htaccess文件,内容如下:

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

如果不行,请尝试搜索server mime types 。


no video with supported format and MIME type found

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.

This is for html5 video.

解决方案

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

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

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

09-18 22:20