In order to use HTML5 Video in the full range of HTML5 browsers, you must encode your video in both MP4 and WebM. Here is an example in which JW Player is setup using both formats:
And here is the embed code:
<script src="/jwplayer/jwplayer.js" type="text/javascript"></script>
<div id="myplayer"></div>
<script type="text/javascript">
jwplayer("myplayer").setup({
height: 360,
image: "/thumbs/bunny.jpg",
levels: [
{file: '/videos/bunny.mp4', type: 'video/mp4' },
{file: '/videos/bunny.webm', type: 'video/webm' },
],
modes: [
{ type: 'html5' },
{ type: 'flash', src: '/jwplayer/jwplayer.swf' }
],
width: 640
});
<script>
See the JW Embedder Guide for more info.