Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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 -->

13 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

Hi Ethan,

Here is the link.
http://wren-test.cdu.edu.au/jwplayer/readme.html

Thank you.

regards,
ujjal

Ethan Feldman

JW Player Support Agent  
0 rated :

This works fine in Chrome 21, Win7.

JW Player

User  
0 rated :

I am also using chrome version:21.0.1180.89 and win 7.
Any idea why it's behaving differently in same system and browser.
It plays fine but with jwplayer not html5 player.

Thank you.

regards,
Ujjal

JW Player

User  
0 rated :

I try with video tag as well but no luck.
link for page with video tag:
http://wren-test.cdu.edu.au/jwplayer/readme1.html

Thank you.

regards,
Ujjal

JW Player

User  
0 rated :

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 -->


try to remove
bc.. flashplayer: "player.swf",


I'm also see html5 player at Chrome

Ethan Feldman

JW Player Support Agent  
0 rated :

This link works fine for me in Chrome as well. You should check another machine.

JW Player

User  
0 rated :

Hello, am I missing something ? IE9 and Firefox OK , but Chrome.

http://www.oca-mebrasil.org/videos10.html

Ethan Feldman

JW Player Support Agent  
0 rated :

Your link is not found:

Not Found

HTTP Error 404. The requested resource is not found.

JW Player

User  
0 rated :

Sorry,

www.oca-mebrasil.org/videos10.html

Ethan Feldman

JW Player Support Agent  
0 rated :

Chrome debug tools show me that this file is missing:

GET http://www.oca-mebrasil.org/jwplayer.html5.js 404 (Not Found)

JW Player

User  
0 rated :

Great ! It's working now. :-) (file missing on the directory)

Thank you !



Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

This question has received the maximum number of answers.