I know that the <video> tag doesn’t work well in Internet Explorer 8, and that’s fine. What I want to do is, if the user tries to open the link with IE8, display an error saying something like you're using browser XX and it's not supported.
I tried this:
<video id="ivideo" src="skins/Sandbox_Light/styleVideos/anima.mp4" controls onended="ivideo();" style="width:952px; height=435px" autoplay="autoplay">
Not supported by your browser
</video>
However, instead I see a black div with an X in the middle, as if the problem was from the plugin missing. I tried to open this page and it works fine in IE9.
Use this piece of code to feature detect it:
Courtesy of dive into html5: http://diveintohtml5.info/detect.html