replace ChromecastButton with button
This commit is contained in:
parent
014f09b1dd
commit
1bdb9ba621
@ -37,7 +37,7 @@
|
|||||||
source.type = ctype;
|
source.type = ctype;
|
||||||
source.src = upstream;
|
source.src = upstream;
|
||||||
player.src(source);
|
player.src(source);
|
||||||
let Button = videojs.getComponent("ChromecastButton");
|
let Button = videojs.getComponent("Button");
|
||||||
let cbutton = {};
|
let cbutton = {};
|
||||||
cbutton.clickHandler = (ev) => {
|
cbutton.clickHandler = (ev) => {
|
||||||
player.trigger("chromecastRequested");
|
player.trigger("chromecastRequested");
|
||||||
|
Loading…
Reference in New Issue
Block a user