Firefox Error Using JS Video

I get an error in Firefox (version 22/23) that says:

The specified "type" attribute for "video / mp4" is not supported. Downloading media resource xxxxx failed.

Is this a fix?

0
source share
1 answer

All about MIME types. When you point the attribute typeto your video source, you also need to make sure that your server understands what these types of files really mean.

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

Add these lines to your .htaccess server and you will be in the know.

For more information on converting / playing videos, check out this article.

0

Source: https://habr.com/ru/post/1625235/


All Articles