mirror of
https://github.com/videojs/video.js.git
synced 2025-03-29 22:07:10 +02:00
Changed 'poster' component to 'posterImage' to prevent conflicts with API.
This commit is contained in:
parent
d06badf061
commit
10ec069e71
2
src/controls.js
vendored
2
src/controls.js
vendored
@ -764,7 +764,7 @@ _V_.MuteToggle = _V_.Button.extend({
|
||||
|
||||
/* Poster Image
|
||||
================================================================================ */
|
||||
_V_.Poster = _V_.Button.extend({
|
||||
_V_.PosterImage = _V_.Button.extend({
|
||||
init: function(player, options){
|
||||
this._super(player, options);
|
||||
|
||||
|
@ -63,7 +63,7 @@ VideoJS.options = {
|
||||
|
||||
// Included control sets
|
||||
components: {
|
||||
"poster": {},
|
||||
"posterImage": {},
|
||||
"textTrackDisplay": {},
|
||||
"loadingSpinner": {},
|
||||
"bigPlayButton": {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user