jplayer / jPlayer

jPlayer : HTML5 Audio & Video for jQuery
http://jplayer.org/
Other
4.6k stars 1.47k forks source link

when i was use ios5 ipad i got some problem and audio can not drag #135

Closed ylovey184 closed 11 years ago

ylovey184 commented 11 years ago

Hello,i am a jplayer user,when i was useing jplayer i found a bug, until now i haven't resolve it. i want to ask for some help.

That bug was when use IOS5 Ipad to listening music(/note:listen music function hava no problem/) the duraction will appear 00:00, but duraction didn't get the real time, this problem always appear hava not regular pattern,sometimes can get it.

Now i am useing jplayer.js+jplayer.playlist.min.js and i update jplayer.js for 2.2.18 version,but problem still exist.

I hope you can tell me a solution! thank you


hello,In you website Demo hava same problem,this URL:http://jplayer.org/latest/demo-02/ you can look for that probleam in this demo. when use IOS5 IPAD,you change songs you will find that problem,but this problem is appear in random. you can change songs several times then you can find duration become00:00 and the song hava no progress bar ,also can not drag it.

IMG_0002

happyworm commented 11 years ago

Thank you for improving your information. Reference: #134 and #135 for more info as multi-posting.

The problem is simple. iOS5 has bugs in it. They improved it in iOS6 and fixed some bugs and added others.

When this happens in iOS5, the Safari browser is giving the duration as a NaN. The duration is never given by the HTML5 media element DOM node, so it is not possible to know the duration in these cases. It did used to recover after a few timeupdate events.

When we spot bugs like this, we report them to Apple. I have reported this one, which may attribute to it being fixed in iOS6.

While we make an effort to maintain older iOS support, our primary goal is to support the latest version of iOS. If iPad users choose not to update to the latest version that has been out for over 3 months now, then that is their choice and they should understand that a major point of updates is to fix bugs.