diff --git a/src/howler.core.js b/src/howler.core.js index ced1a150..d62e9ea2 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -779,7 +779,7 @@ var play = node.play(); // Support older browsers that don't support promises, and thus don't have this issue. - if (typeof Promise !== 'undefined' && (play instanceof Promise || typeof play.then === 'function')) { + if (play && typeof Promise !== 'undefined' && (play instanceof Promise || typeof play.then === 'function')) { // Implements a lock to prevent DOMException: The play() request was interrupted by a call to pause(). self._playLock = true;