summaryrefslogtreecommitdiff
path: root/links
diff options
context:
space:
mode:
authors1n <[email protected]>2019-11-14 17:37:43 -0800
committers1n <[email protected]>2019-11-14 17:37:43 -0800
commit8e30e618d7c40f1cd30580dd263a87f537838284 (patch)
tree0953041e04ba1b434e7e904f28327edb4b0be225 /links
parents1nprv to maldrama (diff)
downloads1n.pw-admin-8e30e618d7c40f1cd30580dd263a87f537838284.tar.xz
s1n.pw-admin-8e30e618d7c40f1cd30580dd263a87f537838284.zip
make links have autoplay!!!
Diffstat (limited to 'links')
-rw-r--r--links/assets/silence.mp3bin0 -> 36710 bytes
-rw-r--r--links/assets/vid.mp4 (renamed from links/assets/vid2.mp4)bin38319582 -> 38319582 bytes
-rw-r--r--links/index.html10
3 files changed, 5 insertions, 5 deletions
diff --git a/links/assets/silence.mp3 b/links/assets/silence.mp3
new file mode 100644
index 0000000..16de7c3
--- /dev/null
+++ b/links/assets/silence.mp3
Binary files differ
diff --git a/links/assets/vid2.mp4 b/links/assets/vid.mp4
index 86228dd..86228dd 100644
--- a/links/assets/vid2.mp4
+++ b/links/assets/vid.mp4
Binary files differ
diff --git a/links/index.html b/links/index.html
index 0b9c112..b8e1865 100644
--- a/links/index.html
+++ b/links/index.html
@@ -33,13 +33,13 @@
</div>
</div>
- <video id="vid" controls muted autoplay loop disablepictureinpicture playsinline>
- <!-- http://youtu.be/4i1yEBUY67E -->
- <source src="/links/assets/vid2.mp4" type="video/mp4">
+ <iframe src="silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
+ <video playsinline autoplay loop id="vid">
+ <source src="/links/assets/vid.mp4" type="video/mp4">
+ </source>
<script>
var video = document.currentScript.parentElement;
- video.play();
- video.volume = 0.5;
+ video.volume = 0.333;
</script>
</video>
</body>