Re: [PHP] Browser could not get mp3 files from http site

2008-09-13 Thread hce
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

Re: [PHP] Browser could not get mp3 files from http site

2008-09-12 Thread Ashley Sheridan
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 --- Begin Message --

Re: [PHP] Browser could not get mp3 files from http site

2008-09-12 Thread Dan Joseph
On Fri, Sep 12, 2008 at 4:14 AM, hce <[EMAIL PROTECTED]> wrote: > Hi, > > I have a php file audio.php to send mp3 file audio.mp3 to browsers, > the browser needs following html code to play mp3 file. I thought it > should work if I put the the audio.mp3 file in the same localtion with > the http:/

[PHP] Browser could not get mp3 files from http site

2008-09-12 Thread hce
Hi, I have a php file audio.php to send mp3 file audio.mp3 to browsers, the browser needs following html code to play mp3 file. I thought it should work if I put the the audio.mp3 file in the same localtion with the http://www.myweb.com/audio.php. But the browser could not get the audio.mp3. I gue