HTML5 tests - video

This page tests the <video> tag.

On the mobile side iPhone supports H.264, BlackBerry Playbook also H.264, Firefox Ogg and WebM.

Test

Format IE 9 FF 4.0b11 Saf 5 Chrome 9 Opera 11
H.264/MP4
Yes No Yes Yes No
WebM
No Yes No Yes Yes
Ogg/Theora
No Yes No Yes Yes

Test cases

Test cases have been removed at the request of my ISP; they were taking up WAY too much bandwidth.

Note the syntax; IE and Firefox need the source and type.

<video controls>
	<source src="../videos/big_buck_bunny.mp4" type="video/mp4">
	<p>Your browser does not support H.264/MP4.</p>
</video>

Fallback content only supported when the browser does not support the <video> tag at all. Bloody useless; what you’d want is to switch to fallback when, say, you only have WebM available and the browser doesn’t support that codec.

H.264/MP4

WebM

Ogg/Theora