Fill padding around stream content with black color

This helps prevent the chroma-keyed background from creating artifacts
when streams don't take the full space (e.g. Periscope streams, which
currently do not always cover).
This commit is contained in:
Max Goodhart
2020-06-22 22:27:14 -07:00
parent 7e71567772
commit 2517ec055e

View File

@@ -12,11 +12,11 @@ const VIDEO_OVERRIDE_STYLE = `
} }
html, body, video { html, body, video {
display: block !important; display: block !important;
background: transparent !important; background: black !important;
} }
html, body { html, body {
overflow: hidden !important; overflow: hidden !important;
background: transparent !important; background: black !important;
} }
video, iframe.__video__ { video, iframe.__video__ {
display: block !important; display: block !important;