1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 10:02:32 +01:00
theme.park/css/addons/unraid/login-page/fallout/js/vault-tec-crt.js
2021-11-01 21:37:21 +00:00

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;