Re: Browser could not get mp3 files from http site

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

 



At 5:35 AM +0200 9/20/08, Michelle Konzack wrote:
Am 2008-09-14 13:54:01, schrieb hce:
 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>

It should be:

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


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

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