diff --git a/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js b/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js index 32201ba9f1d..9deb040a700 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js @@ -67,6 +67,7 @@ export default { wrapper.remove(); video.style.display = ""; parentDiv.classList.remove("video-placeholder-container"); + parentDiv.style.backgroundImage = "none"; }); } diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 99eeb9c1dcf..7393c5e456b 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -927,6 +927,7 @@ aside.onebox.mixcloud-preview { position: relative; padding: 0 0 56.25% 0; width: 100%; + background-color: black; video { position: absolute;