diff options
-rw-r--r-- | client/src/standalone/videos/embed.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index f30dda96b..eab6f81a6 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html | |||
@@ -67,7 +67,12 @@ | |||
67 | if (placeholderPreview) placeholderPreview.style.display = 'none' | 67 | if (placeholderPreview) placeholderPreview.style.display = 'none' |
68 | } | 68 | } |
69 | 69 | ||
70 | window.onerror = function () { | 70 | window.onerror = function (msg) { |
71 | if (typeof msg === 'string' && msg.toLowerCase().includes(' ice ')) { | ||
72 | console.warn(msg) | ||
73 | return | ||
74 | } | ||
75 | |||
71 | window.displayIncompatibleBrowser() | 76 | window.displayIncompatibleBrowser() |
72 | } | 77 | } |
73 | 78 | ||