mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Highlight current chapter in video description
This commit is contained in:
parent
eb111a44c4
commit
f62fce4fea
8 changed files with 86 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ block head
|
|||
else
|
||||
title Error - CloudTube
|
||||
script(type="module" src=getStaticURL("html", "/static/js/player.js"))
|
||||
script(type="module" src=getStaticURL("html", "/static/js/chapter-highlight.js"))
|
||||
script const data = !{JSON.stringify({...video, continuous})}
|
||||
|
||||
block content
|
||||
|
|
@ -73,7 +74,7 @@ block content
|
|||
a(href=`https://www.youtube.com/watch?v=${video.videoId}#cloudtube`).border-look YouTube
|
||||
a(href=`https://redirect.invidious.io/watch?v=${video.videoId}`).border-look Invidious
|
||||
|
||||
.description!= video.descriptionHtml
|
||||
.description#description!= video.descriptionHtml
|
||||
|
||||
//- Standard view
|
||||
aside(style=continuous ? "display: none" : "")#standard-related-videos.related-videos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue