Fix play() and pause() request with promise
Opened this issue · 0 comments
davidbecker6081 commented
Fix: Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
https://goo.gl/LdLk22` - caused by play() returning a promise - need to wait until promise is resolved and then call pause() with a catch error - also need some loading animation - https://developers.google.com/web/updates/2017/06/play-request-was-interrupted`