mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 13:07:00 +00:00
General fixes
This commit is contained in:
parent
6180f858a7
commit
9db801c0d5
@ -49,6 +49,9 @@ class FormatLoader {
|
||||
if (this.npa) {
|
||||
audio.src = this.npa.url
|
||||
audio.currentTime = lastTime
|
||||
} else {
|
||||
audio.pause()
|
||||
audio.removeAttribute("src")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ mixin video_list_item(video)
|
||||
div.title: a(href=link).title-link= video.title
|
||||
div.author-line
|
||||
a(href=`/channel/${video.authorId}`).author= video.author
|
||||
= ` • `
|
||||
span.views= video.viewCountText || video.second__viewCountText
|
||||
if video.publishedText
|
||||
= ` • `
|
||||
span.published= video.publishedText
|
||||
= ` • `
|
||||
span.views= video.viewCountText || video.second__viewCountText
|
||||
if video.descriptionHtml
|
||||
div.description!= video.descriptionHtml
|
||||
div.description!= video.descriptionHtml
|
||||
|
@ -35,3 +35,6 @@ body.show-focus
|
||||
a, select, button, input, video
|
||||
&:focus
|
||||
outline: 2px dotted #ddd
|
||||
|
||||
video
|
||||
background-color: black
|
||||
|
Loading…
Reference in New Issue
Block a user