aboutsummaryrefslogtreecommitdiffstats
path: root/dist/plyr.polyfilled.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-06-18 23:21:03 +1000
committerSam Potts <sam@potts.es>2018-06-18 23:21:03 +1000
commitea4d91d2a011cdfc835619cb90a25074c039e777 (patch)
treed6b34fafbc62fbf0767dadcc1d9327fdeedef0ce /dist/plyr.polyfilled.js
parent22d524ac9d1a688d8493de0b79ff95842353e4b7 (diff)
downloadplyr-ea4d91d2a011cdfc835619cb90a25074c039e777.tar.lz
plyr-ea4d91d2a011cdfc835619cb90a25074c039e777.tar.xz
plyr-ea4d91d2a011cdfc835619cb90a25074c039e777.zip
v3.3.15
Diffstat (limited to 'dist/plyr.polyfilled.js')
-rw-r--r--dist/plyr.polyfilled.js8
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') {