X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fvideos%2Fembed.html;h=32bf5f6553a0a0ddc5761ee9a85ee1cbeb20dc08;hb=HEAD;hp=f30dda96b4bba5d64d9e454005cb79e5c4921f1d;hpb=c7c6afc66d7611d4c02572d63801beca26c45204;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index f30dda96b..32bf5f655 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html @@ -35,6 +35,7 @@
+

@@ -67,7 +68,12 @@ if (placeholderPreview) placeholderPreview.style.display = 'none' } - window.onerror = function () { + window.onerror = function (msg) { + if (typeof msg === 'string' && msg.toLowerCase().includes(' ice ')) { + console.warn(msg) + return + } + window.displayIncompatibleBrowser() }