this post was submitted on 18 Nov 2024
16 points (94.4% liked)
Firefox
18050 readers
60 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I know, I've linked that to show the correct mimetype.
Is your web server returning the correct mimetype for the FooBar.mp4 file ? Also codecs part should probably look more like this:
type='video/mp4; codecs="av1, ogg"'
(omit the ogg in your case)E: if you are opening the html with the element as a file:// in firefox, you probably wont be able to load resources from http:// (only https:// it seems), and it will show the same error in this case but it's because of security not because it can't decode the media. You can see the detailed error (for loading the file) in developer tools ctrl+shift+i and switch to network tab.