mirror of
https://github.com/videojs/video.js.git
synced 2025-01-04 06:48:49 +02:00
Fix poster component visibility
This commit is contained in:
parent
a84d1f85b8
commit
701c1d210c
@ -22,16 +22,16 @@ vjs.Player = function(tag, options, ready){
|
||||
// Cache for video property values.
|
||||
this.cache_ = {};
|
||||
|
||||
// Set poster
|
||||
this.poster_ = options['poster'];
|
||||
// Set controls
|
||||
this.controls_ = options['controls'];
|
||||
|
||||
// Run base component initializing with new options.
|
||||
// Builds the element through createEl()
|
||||
// Inits and embeds any child components in opts
|
||||
vjs.Component.call(this, this, options, ready);
|
||||
|
||||
// Set poster
|
||||
this.poster_ = this.options_['poster'];
|
||||
// Set controls
|
||||
this.controls_ = this.options_['controls'];
|
||||
|
||||
// Firstplay event implimentation. Not sold on the event yet.
|
||||
// Could probably just check currentTime==0?
|
||||
this.one('play', function(e){
|
||||
|
Loading…
Reference in New Issue
Block a user