Re: Browser could not get mp3 files from http site

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

 



Thanks Dan and Ash. I've tried object tag, it crashed my firefox. The
audio.php file generates a simple following html. You need media
player plugin to test it. The web server
http://www.myweb.com/audio.php is my home server. Let me further
discribe the problems, it is not the embed tag problem, it is the
source in the embed tag does not download to the browser (In fact,
I've tried the object tag as Ash suggested, the object tag crashed
firefox):

(1) If I open following audio.html directly from "Open File"
file:///home/webserver/audio.html, the embed tag works just fine, the
audio can play. The /home/webserver is the directory where all
applications audio.php and audio.mp3 are stored.

(2) If I open from http://www.myweb.com/audio.php, the audio.mp3 does
not download to firefox. Nothing is played.

<html>
<embed src="audio.mp3" autostart="1"></embed>
</html>

Thanks.

Jim


On 9/13/08, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote:
> As far as I'm aware, the embed tag is not supported in any HTML
> standard, and as such, it's a little hit and miss. Depending on what you
> want to achieve, you should look towards the object tag instead:
>
> http://joliclic.free.fr/html/object-tag/en/
>
>
>
> Ash
> www.ashleysheridan.co.uk
>

-- 
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