It would be nice to setup multiple formats for a player (H.264, Theora, WebM). If the flash player can be used, the H.264 video will be used. If the player falls back to HTML5, all 3 videos can be embedded in the <video> tag.
You can do this by setting a levels block in your setup code. Here’s an example:
jwplayer('mediaplayer').setup({
flashplayer: 'player.swf',
width: 400,
height: 300,
image: '/thumbs/video.jpg',
levels: [
{ file: '/videos/video.mp4' },
{ file: '/videos/video.ogv' },
{ file: '/videos/video.webm' }
]
});In Flash mode, the player will ignore the Theora and WebM files, but in HTML5 mode, it will insert all of the levels into the <video> tag as sources, and the browser will select a playable file (based on the file extension).
Thank you so much for your helpful reply. I guess I should have specified that I'd like to see this functionality on the WordPress plugins though. Regardless your reaponse is quite helpful for my videos posted outside of WordPress.
This question has received the maximum number of answers.