diff --git a/pikaraoke/templates/splash.html b/pikaraoke/templates/splash.html index 637cb5ba..009b83a7 100644 --- a/pikaraoke/templates/splash.html +++ b/pikaraoke/templates/splash.html @@ -13,6 +13,9 @@ video.readyState > 2 ); + const isFirefox = typeof InstallTrigger !== "undefined"; + const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); + var mouseTimer = null, cursorVisible = true; @@ -270,6 +273,12 @@ let params = new URLSearchParams(window.location.search); let dismissConfirmation = params.get("confirm"); + if (isFirefox || isSafari) { + confirm( + "This browser is not supported. You may experience streaming issues. Please use Chrome for best results." + ); + } + if (dismissConfirmation === "false") { let modal = document.getElementById("permissions-modal"); modal.classList.remove("is-active"); @@ -303,7 +312,9 @@
-
{% for line in hostap_info %}{{ line }}
{% endfor %}
+
+ {% for line in hostap_info %}{{ line }}
{% endfor %} +
diff --git a/pikaraoke/translations/es_VE/messages.po b/pikaraoke/translations/es_VE/messages.po index 2ef13ace..0d55e325 100644 --- a/pikaraoke/translations/es_VE/messages.po +++ b/pikaraoke/translations/es_VE/messages.po @@ -559,4 +559,4 @@ msgstr "A continuación:" #. to the queue.) #: templates/splash.html:10 msgid "Next singer:" -msgstr "Próximo cantante:" \ No newline at end of file +msgstr "Próximo cantante:"