waveform domobject change
davidrop opened this issue · 0 comments
davidrop commented
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 || {});