reorder chromecast handler
This commit is contained in:
parent
572c879bb7
commit
014f09b1dd
@ -39,10 +39,10 @@
|
||||
player.src(source);
|
||||
let Button = videojs.getComponent("ChromecastButton");
|
||||
let cbutton = {};
|
||||
let button = new Button(player, cbutton);
|
||||
cbutton.clickHandler = (ev) => {
|
||||
player.trigger("chromecastRequested");
|
||||
}
|
||||
let button = new Button(player, cbutton);
|
||||
button.addClass("fab");
|
||||
button.addClass("fa-chromecast");
|
||||
button.addClass("vjs-control");
|
||||
|
Loading…
Reference in New Issue
Block a user