replace ChromecastButton with button

This commit is contained in:
Roy Olav Purser 2021-05-20 14:39:18 +02:00
parent 014f09b1dd
commit 1bdb9ba621
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -37,7 +37,7 @@
source.type = ctype;
source.src = upstream;
player.src(source);
let Button = videojs.getComponent("ChromecastButton");
let Button = videojs.getComponent("Button");
let cbutton = {};
cbutton.clickHandler = (ev) => {
player.trigger("chromecastRequested");