This commit is contained in:
Sam Potts
2018-06-18 23:21:03 +10:00
parent 22d524ac9d
commit ea4d91d2a0
14 changed files with 32 additions and 22 deletions

View File

@ -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') {