jaysalvat / buzz

Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It tries to degrade silently on non-modern browsers.
http://buzz.jaysalvat.com
MIT License
1.21k stars 227 forks source link

Promises exceptions suppressed in Chrome #115

Closed fusioneer-GitHub closed 6 years ago

fusioneer-GitHub commented 6 years ago

Current Chrome version throws a lot of exceptions on pages with heavy use of sounds: Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22 As this library uses events for asynchronous handling, it should be okay to just ignore promise exceptions.

jaysalvat commented 6 years ago

Thanks a lot!