Server streaming?
| From: | Jeffry Killen | Date: | Fri, 30 Dec 2016 05:11:40 +0000 |
| Subject: | Server streaming? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325921@lists.php.net to get a copy of this message | ||
I am doing an mp3 player in javascript/html5 and am having trouble.
Key methods and javasript object properties not responding properly.
References to currentTime property ( time line of the audio file) causing
failures and errors.
I have found some posted info suggesting the problem may be that the
server (in my case Mac OSX Apache 2.24, localhost for dev purposes)
may not support streaming. This posting includes a php script that references
$_SERVER['HTTP_RANGE'].
Is there anything in the manual that might help me out with that, or other
info, suggestions?
The posting is here:
http://pervasivecode.blogspot.com/2012/09/currenttime-not-working-with-html5.html
I presume that the php script would need to respond to an async request.
Thanks for time and attention
JK