Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

open in yt action

Christian Fei6a3f46036b2e
diff --git a/client/components/video-element.js b/client/components/video-element.js
index adaf820..dd23250 100644
--- a/client/components/video-element.js
+++ b/client/components/video-element.js
@@ -50,6 +50,7 @@ class VideoElement extends HTMLElement {
${!this.video.summary
? /*html*/`<span tabindex="0" class="action summarize" data-video-id="${this.video.id}">πŸ“– Summarize</span>`
: /*html*/`<span tabindex="0" class="action show-summary" data-video-id="${this.video.id}">πŸ“– Summary</span>`}
+ <a href="https://www.youtube.com/watch?v=${this.video.id}" target="_blank">πŸ“Ί external</a>
</div>
`
}