My code looks like this:
<video>
<source src="movie.webm" type="video/webm" />
<source src="movie.ogv" type="video/ogg" />
</video>
or, like this:
<video>
<source src="movie.ogv" type="video/ogg" />
<source src="movie.webm" type="video/webm" />
</video>
If I list the webm source first, Firefox 4 plays it but Firefox 3.6 also tries to play it (and fails, because it doesn't support webm).
If, instead, I list the ogg source first, both versions play it, so the webm version is useless.
Is there a way (without browser sniffing) to get Firefox 4 to ignore the ogg and/or Firefox 3.6 to ignore the webm?
Secondary question - since ogg does work in both versions, are there actually any benefits to using webm?