diff options
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r-- | client/src/standalone/videos/embed.html | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
59 | 59 | ||
60 | const errorText = document.getElementById('error-content') | 60 | const errorText = document.getElementById('error-content') |
61 | errorText.innerHTML = text | 61 | errorText.innerHTML = text |
62 | |||
63 | const videoWrapper = document.getElementById('video-wrapper') | ||
64 | if (videoWrapper) videoWrapper.style.display = 'none' | ||
65 | |||
66 | const placeholderPreview = document.getElementById('placeholder-preview') | ||
67 | if (placeholderPreview) placeholderPreview.style.display = 'none' | ||
62 | } | 68 | } |
63 | 69 | ||
64 | window.onerror = function () { | 70 | window.onerror = function () { |