A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
play video right away
Christian Fei38810f185e64
diff --git a/client/components/video-element.js b/client/components/video-element.jsindex 6232de8..efc8ed0 100644--- a/client/components/video-element.js+++ b/client/components/video-element.js@@ -96,6 +96,7 @@ class VideoElement extends HTMLElement {Download the video instead <a href="/videos/${this.video.id}" target="_blank">here</a></p></video>`+ this.querySelector('video').play()}downloadVideoHandler (event) {event.preventDefault()