diff options
Diffstat (limited to 'templates/var/www/html/misc.js')
-rw-r--r-- | templates/var/www/html/misc.js | 7 |
1 files changed, 7 insertions, 0 deletions
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"; +} |