mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-05 15:07:11 +02:00
6 lines
355 B
JavaScript
6 lines
355 B
JavaScript
// Adds a video background
|
|
|
|
let video = `
|
|
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/CSS\/addons\/unraid\/login-page\/alien\/video\/isolation.mp4" type="video\/mp4">Video not supported</video></div>
|
|
`
|
|
document.body.innerHTML += video |