...

View Full Version : Stop music



JPM
06-09-2004, 06:50 PM
How would you stop something like this on the press of a button:

<embed src='Take It Or Leave It .mp3' id="music" hidden="true"
autoplay="true"></embed>


thanks

Willy Duitt
06-10-2004, 11:42 AM
The builtin stop function should suffice.



<embed src='Take It Or Leave It .mp3' id="music" hidden="true" autoplay="true" name="mySound"></embed>

<a href="javascript&#58;document.embeds['mySound'].stop()">Stop</a>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum