Re: Browser could not get mp3 files from http site

From: Date: Sun, 14 Sep 2008 09:31:39 +0000
Subject: Re: Browser could not get mp3 files from http site
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-280096@lists.php.net to get a copy of this message
On Sun, 2008-09-14 at 13:54 +1000, hce wrote: > 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@ashleysheridan.co.uk> 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 > > > As far as i know, embed will never work on Firefox, but I could be wrong on that. How exactly were you using the object tag? It shouldn't be crashing the browser. Ash www.ashleysheridan.co.uk

« previous php.general (#280096) next »