Skip to content

Commit

Permalink
Possible Fix for Background Issue 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Dec 23, 2024
1 parent d46370e commit df5001b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ShellVideo/ShellVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ function ShellVideo(options) {
for(var container = options.containerElement; container; container = container.parentElement) {
container.style.background = bg;
}
if (((window || {}).document || {}).getElementsByTagName) {
var body = window.document.getElementsByTagName('body');
if ((body || [])[0]) {
body[0].style.background = bg;
}
}
}
function logProp(args) {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit df5001b

Please sign in to comment.