Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quiettube7.com fullscreen injection to put the video in fullscreen.
(function() {
var css = `
html, body {
height: 100%;
}
body {
overflow: hidden;
}
#video {
position: fixed;
top: 0;
left: 0;
margin: 0;
}
#video, #video > object {
width: 100%;
height: 100%;
}
`;
var cssDiv = document.createElement('div'); cssDiv.innerHTML = '&shy;<style>' + css + '</style>'; document.body.appendChild(cssDiv.childNodes[1]);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.