From line 48 of adapterWebAudio.js
this.audio.addEventListener( 'progress', function ( e ) {
if ( e.currentTarget.duration ) {
_this.progress = e.currentTarget.seekable.end( 0 ) / e.currentTarget.duration;
}
});
Causes an Uncaught IndexSizeError: Failed to execute 'end' on 'TimeRanges': The index provided (0) is not less than the object's length (0).
This occurs when I use sources like shoutcast and icecast.
This is fixable if you nest this condition if(e.currentTarget.seekable.length>0) inside the function.
This doesn't appear to be a problem in Chrome, it just runs through the error anyway. However, I'm guessing/hoping that a similar type of error for the mozilla adapter is preventing firefox from using live mp3 streams (it appears firefox can play and visualize local mp3's just fine).
Awesome project though I'm hooked on the demo.
From line 48 of adapterWebAudio.js
this.audio.addEventListener( 'progress', function ( e ) {
if ( e.currentTarget.duration ) {
_this.progress = e.currentTarget.seekable.end( 0 ) / e.currentTarget.duration;
}
});
Causes an Uncaught IndexSizeError: Failed to execute 'end' on 'TimeRanges': The index provided (0) is not less than the object's length (0).
This occurs when I use sources like shoutcast and icecast.
This is fixable if you nest this condition if(e.currentTarget.seekable.length>0) inside the function.
This doesn't appear to be a problem in Chrome, it just runs through the error anyway. However, I'm guessing/hoping that a similar type of error for the mozilla adapter is preventing firefox from using live mp3 streams (it appears firefox can play and visualize local mp3's just fine).
Awesome project though I'm hooked on the demo.