Re: Re: Browser could not get mp3 files from http site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 24, 2008 at 1:03 AM, Nathan Rixham <nrixham@xxxxxxxxx> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux