From 3559ca8a720086f080286e887a29b6fa68810fa9 Mon Sep 17 00:00:00 2001 From: heqnx Date: Sat, 5 Jul 2025 23:39:46 +0300 Subject: adding ios error message for ogg streaming, for now --- templates/var/www/html/misc.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/var/www/html/misc.js (limited to 'templates/var/www/html/misc.js') diff --git a/templates/var/www/html/misc.js b/templates/var/www/html/misc.js new file mode 100644 index 0000000..4532fba --- /dev/null +++ b/templates/var/www/html/misc.js @@ -0,0 +1,7 @@ +if (/iP(hone|od|ad)/.test(navigator.userAgent)) { + const alertDiv = document.getElementById('alert'); + alertDiv.textContent = "iOS does not support browser OGG streaming"; + alertDiv.style.color = "#FF0000"; + alertDiv.style.fontWeight = "normal"; + alertDiv.style.display = "block"; +} -- cgit v1.2.3