We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 026e684 + df5001b commit c13629bCopy full SHA for c13629b
src/ShellVideo/ShellVideo.js
@@ -95,6 +95,12 @@ function ShellVideo(options) {
95
for(var container = options.containerElement; container; container = container.parentElement) {
96
container.style.background = bg;
97
}
98
+ if (((window || {}).document || {}).getElementsByTagName) {
99
+ var body = window.document.getElementsByTagName('body');
100
+ if ((body || [])[0]) {
101
+ body[0].style.background = bg;
102
+ }
103
104
105
function logProp(args) {
106
// eslint-disable-next-line no-console
0 commit comments