diff --git a/frontend/script.js b/frontend/script.js index 0d527ca..2f64545 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -40,6 +40,9 @@ let Button = videojs.getComponent("Button"); let cbutton = {}; cbutton.clickHandler = (ev) => { + if(player.volume() > 0.5) { + player.volume(0.1); + } player.trigger("chromecastRequested"); } let button = new Button(player, cbutton);