
chrome not showing html5 player
Hi,
Using the code below i manage to play ".mp4" video file in all major browser. As far as i know chrome support ".mp4" file in html5 mode as well. But in my case chrome is playing the video using jwplayer ot html5 .So, is there any fix for this ? If you check the modes parameter html5 is first option but why chrome is not supporting this ?
Thank you in advance for any guide or help provided.
bc.. <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
<div id="mediaplayer">JW Player goes here</div>
<script type="text/javascript" src="jwplayer.js"></script>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
flashplayer: "player.swf",
file: "video.mp4",
image: "preview.jpg",
'modes': [
{type: 'html5'},
{type:'flash', src:'{/literal}{$rel_url}{literal}jwplayer/player.swf'},
{type: 'download'}
]
});
</script>
<!-- END OF THE PLAYER EMBEDDING -->