chromecast volume test
This commit is contained in:
parent
dd9be53140
commit
a62b49e398
@ -57,7 +57,9 @@
|
|||||||
player.removeChild(button);
|
player.removeChild(button);
|
||||||
});
|
});
|
||||||
player.on("chromecastConnected", () => {
|
player.on("chromecastConnected", () => {
|
||||||
player.volume(0.1);
|
if(player.volume() > 0.3) {
|
||||||
|
player.volume(0.3);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
document.addEventListener("DOMContentLoaded", handleCount);
|
document.addEventListener("DOMContentLoaded", handleCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user