diff --git a/src/js/plyr.js b/src/js/plyr.js index 153652c3..b7f59405 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1351,7 +1351,7 @@ } // If there's a play button, set label - if (plyr.supported.full && plyr.buttons.play) { + if (plyr.supported.full && plyr.buttons && plyr.buttons.play) { for (var i = plyr.buttons.play.length - 1; i >= 0; i--) { plyr.buttons.play[i].setAttribute('aria-label', label); }