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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -