Re: Re: Browser could not get mp3 files from http site
| From: | hce | Date: | Tue, 23 Sep 2008 22:50:23 +0000 |
| Subject: | Re: Re: Browser could not get mp3 files from http site | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280804@lists.php.net to get a copy of this message | ||
On Wed, Sep 24, 2008 at 1:03 AM, Nathan Rixham <nrixham@gmail.com> wrote:
> Ashley Sheridan wrote:
>>
>> On Tue, 2008-09-23 at 21:23 +1000, hce wrote:
>>>
>>> Hi Ashley,
>>>
>>> The object tag is indeed working. It does not automatically play
>>> audio.mp3 from my home web server, but it does automatically play if I
>>> add an audio source value from a streaming server. Can you make it
>>> work to play the audio automatically from a normal web server not
>>> streaming server?
>>>
>>> Thanks.
>>>
>> As far as I'm aware it should play from any server. What kind of paths
>> are you putting into the object tag? Absolute or relative and is it a
>> URL or local resource?
>>
>>
>> Ash
>> www.ashleysheridan.co.uk
>>
>
>
> when the file isn't in a streaming server you have buffering to contend
> with; odds are it won't play the file till it's completely downloaded
> [regardless of autoplay/autostart]
I am not sure if it is a buffering problem or not. I am baffled as I
can play from opening a file file:///home/webserver/audio.html, but
could not play it if I play from an URL
http::/www.myweb.com/audio.php, the audio.php generate
the same
content of the audio.html.
> A few questions:
> Why don't you just link to the audio.mp3 file and let the users browser/pc
> determine how best to play it [normal]?
I am sure you have many ways to play an mp3 file, that was not what I
was asking for. My intention is to learn and understand the PHP and
HTML program, and to resolve problems. It bothers me as I could not
unserstand why the URL way does not work as it should.