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

iPad only issue


Here is the link:

http://mtc.maranathachoirs.org/newresponsive/music.php

The link works fine on most browsers (not on Opera - topic for another thread?) and platforms except for my first gen iPad. Running iOS 5.1.1. If I instantiate the player without a file the page loads and I get the expected error. When I include the file the page crashes, but only on my iPad. Is there a known error with iOS 5.1.1 and JW Player?

6 Community Answers

JW Player

User  
0 rated :

You're using some JW5 embedding attributes, which won't work with JW6.

For openers, delete this line:

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

The main calling script will load the HTML5 script if it needs to, all by itself. Loading it explicitly can cause problems.

Next, in your setup blocks, delete this:

*'flashplayer': 'jwplayer/player.swf',*

That's the JW5 Flash player script, which is incompatible with JW6. As with the HTML5 script, there's no need to specify the Flash script - the main calling script, jwplayer.js, will call the Flash player automatically if it needs it (and it's jwplayer.flash.swf in JW6).

Next, these are not valid in JW6:

*'volume' : '85',
'controlbar': 'bottom'*

Delete them.

JW Player

User  
0 rated :

@Greg

You have a flash environment for the JWPlayer which doesn't work on iPAD or mobiles.

Use the html5 functionality of the JWPlayer.

What is helpful is the documentation for the JWPlayer; media and device support
http://www.longtailvideo.com/support/jw-player/28832/about-jw-player.

You may also instantiate a JWPlayer only once rather than three times by using the load function.

If you like I could post an example of such.

JW Player

User  
0 rated :

Thank you MisterNeutron...those changes corrected the Opera issue. Still crashing safari on my iPad.

JW Player

User  
0 rated :

Willie - an example of using the load function would be great. Also, when you say I need to use the html5 functionality, I am not sure what you mean there.

Heading back to the documentation. I am sure I am overlooking it.

JW Player

User  
0 rated :

Found the problem. Not sure why it was crashing safari on the iPad, but the following CSS was causing the problem.

-webkit-overflow-scrolling: touch;

Deleted that line from my stylesheet and safari will now display/play both video and audio.

Thanks everyone.

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you found it.

We also have our migration guide here – http://www.longtailvideo.com/support/jw-player/28834/migrating-from-jw5-to-jw6

This question has received the maximum number of answers.