Bug 1568373 - Use black background for Picture-in-Picture window r=mconley

Differential Revision: https://phabricator.services.mozilla.com/D49348

--HG--
extra : moz-landing-system : lando
This commit is contained in:
dennisschagt 2019-10-17 16:29:43 +00:00
parent c28f409e6d
commit 31a3f7f1d0

View File

@ -1014,6 +1014,8 @@ class PictureInPictureChild extends ActorChild {
// containing window
playerVideo.style.height = "100vh";
playerVideo.style.width = "100vw";
playerVideo.style.backgroundImage =
'url("chrome://global/skin/media/imagedoc-darknoise.png")';
doc.body.appendChild(playerVideo);