1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-13 20:07:30 +00:00

General fixes

This commit is contained in:
Cadence Ember 2020-08-25 01:49:48 +12:00
parent 6180f858a7
commit 9db801c0d5
3 changed files with 9 additions and 3 deletions

View File

@ -49,6 +49,9 @@ class FormatLoader {
if (this.npa) {
audio.src = this.npa.url
audio.currentTime = lastTime
} else {
audio.pause()
audio.removeAttribute("src")
}
}
}

View File

@ -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

View File

@ -35,3 +35,6 @@ body.show-focus
a, select, button, input, video
&:focus
outline: 2px dotted #ddd
video
background-color: black