i\'m trying to build a video player, that works everywhere. so far i\'d be going with:
Modernizr worked like a charm for me.
What I did is that I didn't use . Somehow this screwed things up, since the video only worked the first time load() was called. Instead I used the source attribute inside the video tag ->
and used Modernizr to determine what format the browser supported.
Hopefully this will help you :)
If you don't want to use Modernizr , you can always use CanPlayType().