A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
fix: reset video player when deleting
Christian Feib3e4ae535ad0
diff --git a/client/components/video-element.js b/client/components/video-element.jsindex 2c9b88c..c525d06 100644--- a/client/components/video-element.js+++ b/client/components/video-element.js@@ -136,6 +136,7 @@ class VideoElement extends HTMLElement {console.log('Video deleted')this.video.downloaded = falsethis.classList.remove('downloading')+ this.classList.remove('big')this.querySelector('video') && this.unregisterVideoEvents(this.querySelector('video'))this.render()})