A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
fix: just set video-element attributes about downloading and summarizing
Christian Fei778928fb1029
diff --git a/client/components/video-element.js b/client/components/video-element.jsindex f41c93e..35fcb13 100644--- a/client/components/video-element.js+++ b/client/components/video-element.js@@ -85,11 +85,9 @@ class VideoElement extends HTMLElement {if (window.state && window.state.downloading && window.state.downloading[this.video.id]) {this.dataset['downloading'] = 'true'- this.querySelector('.action.download').innerText = this.downloadStartedText}if (window.state && window.state.summarizing && window.state.summarizing[this.video.id]) {this.dataset['summarizing'] = 'true'- this.querySelector('.action.summarize').innerText = this.summaryStartedText}this.registerEvents()