PDA

View Full Version : sound not playing.


cbtoday
08-25-2005, 07:02 AM
I have embedded music into my image_template.html page, and it works on this html site. But when I open the index.php site, the player does not work, is there anything I need to take care of in the php file? Thankyou.
The code I use is :

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="270" height="12" id="mp3Player" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.todayistoday.com/templates/salted-template/mp3Player.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.todayistoday.com/templates/salted-template/mp3Player.swf" menu="false" quality="high" bgcolor="#ffffff" width="270" height="12" name="mp3Player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

dontfeedthenerd
08-25-2005, 07:06 AM
can you link us to your site so I can see the actual site code once it gets processed?

Also, a frantic plea, don't embed music in your site, please please please please. It slows down your site, it reloads everytime you change pages so it gets annoyingly repetitive, and a lot of people have their own music playing already. So my suggestion is either play a short clip on site load, if anything at all.

cbtoday
08-25-2005, 07:13 AM
http://www.todayistoday.com/index_real.php

Joe[y]
08-25-2005, 10:31 AM
your path is different! you have the src as http://www.todayistoday.com/templates/salted-template/mp3Player.swf in the example above but you only have mp3player.swf on hte linked page source.

cbtoday
08-25-2005, 02:40 PM
the player will automatically play mp3 in that directory, if you go here
http://www.todayistoday.com/templates/salted-template/image_template.html, you can see it works.

cbtoday
08-26-2005, 06:14 AM
I got it fixed, thanks.