mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 07:09:15 +02:00
url setting
This commit is contained in:
@@ -285,6 +285,18 @@ function finishSleep() {
|
||||
}
|
||||
sleepBaseVolume = null;
|
||||
}
|
||||
|
||||
function isTnet() {
|
||||
return window.location.protocol === "file:" || window.location.hostname.includes("tnet");
|
||||
}
|
||||
|
||||
function initTnetUrl() {
|
||||
if (isTnet()) {
|
||||
document.getElementById("whep-url-input").value = "https://webrtc.terminal.tnet/radio/whep";
|
||||
}
|
||||
}
|
||||
|
||||
initTnetUrl();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user