mirror of
https://github.com/videojs/video.js.git
synced 2025-06-04 23:37:29 +02:00
Moved .values definition to support being used in width()
This commit is contained in:
parent
6bb2a8cdda
commit
b18bc876b0
@ -14,6 +14,9 @@ _V_.Player = _V_.Component.extend({
|
|||||||
_V_.merge(options, this.getVideoTagSettings()); // Override with Video Tag Options
|
_V_.merge(options, this.getVideoTagSettings()); // Override with Video Tag Options
|
||||||
_V_.merge(options, addOptions); // Override/extend with options from setup call
|
_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.
|
// Store controls setting, and then remove immediately so native controls don't flash.
|
||||||
tag.removeAttribute("controls");
|
tag.removeAttribute("controls");
|
||||||
|
|
||||||
@ -63,9 +66,6 @@ _V_.Player = _V_.Component.extend({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cache for video property values.
|
|
||||||
this.values = {};
|
|
||||||
|
|
||||||
this.addClass("vjs-paused");
|
this.addClass("vjs-paused");
|
||||||
|
|
||||||
this.on("ended", this.onEnded);
|
this.on("ended", this.onEnded);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user