From 1bdb9ba62136e73a9c88909abb62274100a8daa7 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Thu, 20 May 2021 14:39:18 +0200 Subject: [PATCH] replace ChromecastButton with button --- frontend/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");