Connecting Tech Pros Worldwide Forums | Help | Site Map

Proble with embeding audio in web site

Member
 
Join Date: Sep 2008
Posts: 42
#1: Apr 21 '09
Hi,

I am embeding flash player in my site but i have some problem like...
suppose i have 5 songs and i am playing one song but i want to play another while first one is not completed then both songs are playing that do not i want ...
i want like at time only one shog should play.
Is there any scripting to do this?

I am giving the code which i have embed
Expand|Select|Wrap|Line Numbers
  1.  
  2.                                   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="20"
  3.     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
  4.     <param name="movie" value="singlemp3player1-religious.swf?showDownload=false" />
  5.     <param name="wmode" value="transparent" />
  6.     <embed wmode="transparent" width="150" height="20" src="singlemp3player1-religious.swf?showDownload=false"
  7.     type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  8. </object>
  9.  

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: May 1 '09

re: Proble with embeding audio in web site


Are these embedded in the Flash file? If not, you could look at possibly using JavaScript to interface with the Flash file using something like swfobject.
Reply