diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index 8ec03d199..f30dda96b 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html @@ -59,6 +59,12 @@ const errorText = document.getElementById('error-content') errorText.innerHTML = text + + const videoWrapper = document.getElementById('video-wrapper') + if (videoWrapper) videoWrapper.style.display = 'none' + + const placeholderPreview = document.getElementById('placeholder-preview') + if (placeholderPreview) placeholderPreview.style.display = 'none' } window.onerror = function () {