.jPlayer("play", seconds) jumps to wrong place in safari, though the timeupdates are correct

56 views
Skip to first unread message

Rune Skjoldborg Madsen

unread,
Sep 6, 2011, 6:21:57 PM9/6/11
to jPlayer: HTML5 Audio & Video for jQuery
Hey all

This is really weird. My audio player is working correctly in all
browsers (even IE6+IE7+IE8), but it has a strange bug in Safari 5.1.

When playing at a specific time, the playhead will seem to jump to
that time and play (the timeupdate events are correct), but the actual
audio being played will not be at the correct time. In other words,
the audio is lacking behind, but the player thinks it's a the correct
time.

This is my setup:

solution: "html, flash",
supplied: "mp3, ogg, m4a"

Can it be a problem with my encoding of the audio files? Any tips on
how to solve this?

Thanks

Mark Panaghiston

unread,
Sep 6, 2011, 6:58:44 PM9/6/11
to jpl...@googlegroups.com
I suspect that the mp3 is not Safari friendly.

Since it looks like you have supplied both the mp3 and m4a formats, just do this:
supplied:"oga,m4a"

You do not need to supply both mp3 and m4a, as there is no benefit at all. However, in your case that gives us an easy way to switch between using MP3 and M4A files.

Hopefully the M4A files will work.

Rune Skjoldborg Madsen

unread,
Sep 6, 2011, 7:15:30 PM9/6/11
to jpl...@googlegroups.com
That fixed it, thanks. Thank you so much


--
You received this message because you are subscribed to the Google Groups "jPlayer: HTML5 Audio & Video for jQuery" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jplayer/-/Zz_11ftpKikJ.

To post to this group, send email to jpl...@googlegroups.com.
To unsubscribe from this group, send email to jplayer+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jplayer?hl=en.

Reply all
Reply to author
Forward
0 new messages