I am working on a project that uses jPlayer (currently version 1.1.1)
to play .ogg files in the browser. Access to these files is restricted
in a number of ways so I need to send the requests through a PHP
script and things are mostly working.
However, I am having issues with seeking within a track and the stop
button. Play, pause, next track, previous track, and volume controls
all work flawlessly, but clicking on the progress bar to jump around
the track and clicking on the stop button do nothing. I have been
trying to figure out what is wrong, but I haven't come up with much
yet.
As far as I can tell, this seems to only be happening when I stream
the files through my PHP script. In other words, if I take the
identical file and reference it directly on my server, everything
works as expected. But, when I serve it through my PHP script, the
file plays but the seek and stop features are broken.
These are the headers that are being sent with the two different
files.
Direct request:
HTTP/1.1 200 OK
Date: Mon, 10 May 2010 19:37:23 GMT
Server: Apache/2.2.3 (Red Hat)
Last-Modified: Wed, 14 Apr 2010 21:37:26 GMT
Accept-Ranges: bytes
Content-Length: 2108976
Cache-Control: max-age=600
Expires: Mon, 10 May 2010 19:47:23 GMT
Content-Type: application/ogg
Served through PHP script:
HTTP/1.1 200 OK
Date: Mon, 10 May 2010 19:37:21 GMT
Server: Apache/2.2.3 (Red Hat)
X-Powered-By: PHP/5.3.2
Last-Modified: Wed, 14 Apr 2010 16:37:26 -0500
Accept-Ranges: bytes
Content-Length: 2108976
Cache-Control: max-age=600
Expires: Mon, 10 May 2010 19:47:21 GMT
Content-Type: application/ogg
Versions:
jQuery: 1.4.2
jPlayer: 1.1.1
Google Chrome: 5.0.375.29 beta
Windows: 7
If anybody can help me out, I would greatly appreciate it.
Thanks!
--
You received this message because you are subscribed to the Google Groups "jPlayer: the CSS styleable jQuery audio player plugin" group.
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.