By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,797 Members | 1,262 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,797 IT Pros & Developers. It's quick & easy.

Proble with embeding audio in web site

P: 45
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.  
Apr 21 '09 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
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.
May 1 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.