hacktoberfestnginxthemedark-themesonarrradarrplexorganizrdark-modecustom-csscssthemes-customthemes-csssubfilterguacamoleskinsombilidarrdocker-modsdark-themes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
436 B
8 lines
436 B
3 years ago
|
// Adds a video background
|
||
|
// Source: https://www.youtube.com/watch?v=ehvduomE0AU
|
||
|
|
||
|
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\/VaultTecCRTLoopNoScanline.mp4" type="video\/mp4">Video not supported</video></div>
|
||
|
`
|
||
|
document.body.innerHTML += video
|