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