small modifications to make the waveform enabled in firefox 21 (playout does not work though)
This commit is contained in:
parent
06fbbe89f2
commit
9ce3b0c043
2 changed files with 3 additions and 5 deletions
|
@ -176,6 +176,7 @@ TrackEditor.prototype.loadBuffer = function(src) {
|
|||
var that = this,
|
||||
xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.open('GET', src, true);
|
||||
xhr.responseType = 'arraybuffer';
|
||||
|
||||
xhr.addEventListener('progress', function(e) {
|
||||
|
@ -198,7 +199,6 @@ TrackEditor.prototype.loadBuffer = function(src) {
|
|||
);
|
||||
}, false);
|
||||
|
||||
xhr.open('GET', src, true);
|
||||
xhr.send();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue