diff options
Diffstat (limited to 'dist/plyr.polyfilled.js')
-rw-r--r-- | dist/plyr.polyfilled.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dist/plyr.polyfilled.js b/dist/plyr.polyfilled.js index 74ffda02..7b9224d4 100644 --- a/dist/plyr.polyfilled.js +++ b/dist/plyr.polyfilled.js @@ -9467,9 +9467,11 @@ typeof navigator === "object" && (function (global, factory) { toggleClass(this.elements.container, this.config.classNames.stopped, this.stopped); // Set state - Array.from(this.elements.buttons.play).forEach(function (target) { - target.pressed = _this3.playing; - }); + if (is$1.nodeList(this.elements.buttons.play)) { + Array.from(this.elements.buttons.play).forEach(function (target) { + target.pressed = _this3.playing; + }); + } // Only update controls on non timeupdate events if (is$1.event(event) && event.type === 'timeupdate') { |