diff --git a/src/player.js b/src/player.js index d9ff2c412..116dc2c0b 100644 --- a/src/player.js +++ b/src/player.js @@ -14,6 +14,9 @@ _V_.Player = _V_.Component.extend({ _V_.merge(options, this.getVideoTagSettings()); // Override with Video Tag Options _V_.merge(options, addOptions); // Override/extend with options from setup call + // Cache for video property values. + this.values = {}; + // Store controls setting, and then remove immediately so native controls don't flash. tag.removeAttribute("controls"); @@ -63,9 +66,6 @@ _V_.Player = _V_.Component.extend({ } } - // Cache for video property values. - this.values = {}; - this.addClass("vjs-paused"); this.on("ended", this.onEnded);