soundcloud-soundmanager-player icon indicating copy to clipboard operation
soundcloud-soundmanager-player copied to clipboard

waveform domobject change

Open davidrop opened this issue 9 years ago • 0 comments

Instead of load the waveform on the #waveform dom object, you can easly change the constructor of your app to refer to a DOM id

2 change required: function definition var SCWaveform = function(scplayer, config, divid, selectors){

and this.dom code: this.dom = $.extend({ container: $("#" + divid) , buffer: $("#" + divid).find('.buffer') , playbar: $("#" + divid).find('.played') , waveform: $("#" + divid).find('> img') }, selectors || {});

davidrop avatar Jul 12 '15 13:07 davidrop