diff --git a/frontend/script.js b/frontend/script.js index 13fa83e..0d527ca 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -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");