Progress and Seek Support for mp3 streams

193 views
Skip to first unread message

jottos

unread,
Oct 25, 2011, 4:40:44 PM10/25/11
to jPlayer: HTML5 Audio & Video for jQuery
Hi

I've read through the myriad of posts on streaming and mp3 support in
html5 browser and am still left wondering what the support level is.
I'm using player 2.1.0; on Chrome (latest) and Safari 5 and what I
see is that my streamed format mp3 plays fine on both, but the
progress bar works only on chrome and seeking does not work on Chrome
or Safari. What's more, on Safari 5 Windows, both the progress bar and
seeking work properly, but Chrome on Windows only seems to do the
progress bar correctly and not the seek.

So a few questions here:
1) Is there a latest support matrix for HTML 5? the section
"Reference: HTML5 Browser Audio and Video Support" in the dev guide
differs significantly from my experience.

2) should we even be looking to support progress/seek with a streamed
mp3? seems like it should work given progress does occasionally and
seek does on Safari Windows

3) if progress and seeking don't work with the baked in capabilities,
is there an alternative strategy for doing progress bars and seeking?

Thanks,
/jos

Dustin Blake

unread,
Oct 25, 2011, 6:08:57 PM10/25/11
to jpl...@googlegroups.com
The server needs to have Range requests enabled for proper progress and seeking in some HTML5 browsers (seems to specifically affect Webkit based browsers), this might be the cause of your issue.

From the documentation http://www.jplayer.org/latest/developer-guide/#jPlayer-server-response (scroll down a tad and there is a Byte-Range Request section).

Hope this helps.

jottos

unread,
Oct 25, 2011, 6:53:10 PM10/25/11
to jPlayer: HTML5 Audio & Video for jQuery
Ya, we've got this enabled.
Tnx

jottos

unread,
Oct 25, 2011, 7:08:33 PM10/25/11
to jPlayer: HTML5 Audio & Video for jQuery
Quick clarification, if you use a non streaming mp3 file, everything
is cool. Seeking and Progress work fine.
Its just streaming mode mp3's that causes complete or partial grief.
Reply all
Reply to author
Forward
0 new messages