Skip to content

Commit c13629b

Browse files
authored
Merge pull request #91 from Stremio/fix-shell-issues
Possible Fix for Background Issue 2
2 parents 026e684 + df5001b commit c13629b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ShellVideo/ShellVideo.js

+6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ function ShellVideo(options) {
9595
for(var container = options.containerElement; container; container = container.parentElement) {
9696
container.style.background = bg;
9797
}
98+
if (((window || {}).document || {}).getElementsByTagName) {
99+
var body = window.document.getElementsByTagName('body');
100+
if ((body || [])[0]) {
101+
body[0].style.background = bg;
102+
}
103+
}
98104
}
99105
function logProp(args) {
100106
// eslint-disable-next-line no-console

0 commit comments

Comments
 (0)