playback bugz

This commit is contained in:
Jules Laplace
2015-07-11 14:45:48 -04:00
parent 740993b19a
commit 56fcf1b959
4 changed files with 39 additions and 14 deletions

View File

@@ -19,10 +19,9 @@ var audio = (function(){
context.decodeAudioData(request.response, function(buf) {
bufs[site.domain] = buf
loader.ready(site.domain + "_sound")
}, function () { console.error('The request failed.') } )
}
request.onerror = function() {
ytmnd.error()
}, function () {
ytmnd.error()
})
}
request.send()
}