Reputation: 1096
I have a small webm video that plays fine in Chrome, but not firefox. here is my html:
<!DOCTYPE HTML>
<html>
<head>
<title>html5 video</title>
</head>
<body>
<video controls="controls">
<source type="video/webm" src="file.webm" type='video/webm; codecs="vp80, vorbis"'/>
Your browser cannot play this
</video>
<a href="file.webm">Download</a>
</body>
</html>
I read somewhere that to get firefox to play webm, the .htaccess file need to be appended with this:
AddType video/webm .webm
So far nothing. If I drag the file into firefox it plays fine. This is the codec used according to VLC
Google/On2's VP8 Video (VP8)
What am I doing wrong here?
Upvotes: 1
Views: 3579
Reputation: 1096
As discussed in the comments, the problem was an improperly configured web server. Following the instructions here and then rebooting all webm videos play fine in firefox.
Upvotes: 1