jquery - Stop SoundManager 2 playback on close of Colorbox window? -
i have instance of soundmanager 2 setup inline html displays list of songs within colorbox window. until close colorbox window. sound continues unless reopen window , stop manually. thought use oncleanup
callback soundmanager.stopall();
method sound stops window begins close. because jquery skills of beginner i'm not sure of proper placement or syntax. i'm calling colorbox windows basic syntax of:
$(document).ready(function(){ $(".inlineplayer1").colorbox({inline:true, width:"300px",height:"530px"}); $(".inlineplayer2").colorbox({inline:true, width:"300px",height:"550px"}); });
Comments
Post a Comment