mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-09 20:52:34 +01:00
8 lines
448 B
JavaScript
8 lines
448 B
JavaScript
// Adds a video background
|
|
// Source: https://steamcommunity.com/sharedfiles/filedetails/?id=920035918
|
|
|
|
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\/fallout\/video\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported</video></div>
|
|
`
|
|
document.body.innerHTML += video;
|