diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-07-24 17:52:45 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-07-24 17:52:45 -0700 |
commit | 7fc38afc4fab96f77ac63fe790e4f5e4778caf1b (patch) | |
tree | 65a94187ea96ea1b8160bc81708180993f7d751f | |
parent | 66a8d5364b7aec3cf67e10f96d43c2ce1eec1e14 (diff) |
further attempts to get sound working in chrome; even if oncanplaythrough did not fire, continue and hope for the best
-rw-r--r-- | src/library_browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index 01a863e2..dbfb42d8 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -167,7 +167,7 @@ mergeInto(LibraryManager.library, { audioPlugin.shownWarning = true; alert('Your browser is having trouble loading audio files. Sound effects may not work properly.'); } - audio.onerror(); + finish(audio); // try to continue normally, the sound might be ok if the oncanplaythrough callback just didn't fire }, 5000); audio.src = url; } else { |