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

player not working in IE or Safari


My player works great in Firefox and Chrome as well as on my Android but fails to load in IE or Safari.
Gives message "error loading player: no playable sources found"

This is what I have please help:

<head>
<script type="text/javascript" src="/js/jwplayer.js"></script>
</head>

<body>
<div id="VideoWrapper">
<div class="video-holder">
<div id="final">Loading the player ...</div>
<script type="text/javascript">
jwplayer("final").setup({

file: '/videos/glycemate3r27.ogv',
file: '/videos/glycemate3r27.mp4',
file: '/videos/glycemate3r27.webm',
width: '100%',
aspectratio: '16:9',
controls: 'true',
autostart: 'true'
});
</script>

</div>
</body>

11 Community Answers

JW Player

User  
0 rated :

Please give us a link to your site. It's probably a MIME type error, but we can't tell just from looking at the code.

But why are you bothering with OGV and WEBM? Just provide a properly-encoded MP4. HTML-5 capable browsers will display it natively, and other browsers (IE8, FF on WinXP and OSX) will fall back to Flash.

JW Player

User  
0 rated :

www.glycemate.com

JW Player

User  
0 rated :

"But why are you bothering with OGV and WEBM? Just provide a properly-encoded MP4. HTML-5 capable browsers will display it natively, and other browsers (IE8, FF on WinXP and OSX) will fall back to Flash."

It didn't work properly on mobile devices until I added that...

JW Player

User  
0 rated :

For openers, your video won't stream properly because the index is at the end of the file. You can either re-encode it with HandBrake, default settings plus check "Web optimized:"

http://handbrake.fr/

Or just put it through MP4 FastStart, which does nothing but move the index (very quick, because it's not doing anything else):

http://www.datagoround.com/lab/

Get that straightened out before going any further.

Second, to avoid any potential permission or cross-domain issues, give an absolute path for the video itself:

bc.. file: 'http://glycemate.com/videos/glycemate3r27.mp4',

JW Player

User  
0 rated :

@Danny

I would recommend using the QTindexswapper
from the following link
http://renaun.com/blog/code/qtindexswapper/

note: you do need to have Adobe Air installed

JW Player

User  
0 rated :

Just use MP4 FastStart. You don't need to have anything else installed. It works quickly and flawlessly, and you can easily batch-process an entire folder of videos in a matter of seconds.

I'm continually mystified when people recommend more complicated solutions when there's something simple out there.

Ethan Feldman

JW Player Support Agent  
0 rated :

I always liked – http://renaun.com/blog/2010/06/qtindexswapper-2/

Or just HandBrake, default settings, web optimized.

JW Player

User  
0 rated :

That requires Adobe Air. MP4 FastStart doesn't require you to install anything else. In fact, it's so simple, it doesn't even "install" in Windows - you just unzip it and hit the .exe when you need it.

Ethan Feldman

JW Player Support Agent  
0 rated :

True. HandBrake is good too.

JW Player

User  
0 rated :

HandBrake is great, but if the _only_ thing you want to do is move the *moov atom* to the front of the file, HandBrake is overkill, and much, much slower, since it's re-encoding the video. A single-purpose utility like MP4 FastStart is lightning fast.

Ethan Feldman

JW Player Support Agent  
0 rated :

It is, but it also usually fixes encoding issues ;)

This question has received the maximum number of answers.