No video with supported format and MIME type found

萝らか妹 提交于 2019-11-29 02:19:07

Are the paths valid?

  • https://root/folder/video/v1.ogv
  • https://root/folder/video/v1.webm

Firefox doesn't support .mp4 files which explains the Specified "type" attribute of "video/mp4" is not supported. error.

If you are using Apache, you can force it to use the correct MIME type. Add the following to your .htaccess file.

# MIME types for Video
AddType video/mp4 mp4 m4v f4v f4p
AddType video/ogg ogv
AddType video/webm webm
AddType video/x-flv flv

@Gonzalo- As @Daniel has pointed out in his answer - make sure that /video folder in source tag is accessible. For example - you are accessing your page at

https://abcdomain/approot/somepage

and assuming that you have this video folder inside approot, then you need to modify the source tag and it would be something like -

<source src="/approot/video/v1.ogv" type="video/ogg">

Hope, this helps.

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