Re: Browser could not get mp3 files from http site
| From: | tedd | Date: | Sun, 21 Sep 2008 12:29:33 +0000 |
| Subject: | Re: Browser could not get mp3 files from http site | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280625@lists.php.net to get a copy of this message | ||
At 5:35 AM +0200 9/20/08, Michelle Konzack wrote:
Am 2008-09-14 13:54:01, schrieb hce:No, the autostart attribute is fine, but should be set to true. <html> <embed src="audio.mp3" autostart=true ></embed> </html> The above will work for Netscape -- but for other browser (i.e., IE's, Opera, el all) use: <html> <bgsound src="audio.mp3" ></bgsound> </html> Also you can add the attribute of "hidden=true" to both. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comI'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> It should be: <html> <embed src="audio.mp3" /> </html>