1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-02 02:31:35 +00:00

Fix ?t start time parameter on videos

This commit is contained in:
Cadence Ember 2021-05-02 00:59:28 +12:00
parent 7023d0287c
commit c811a4aaf9
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
2 changed files with 6 additions and 1 deletions

View file

@ -160,6 +160,11 @@ module.exports = [
video.second__viewCountText = converters.viewCountToText(video.viewCount)
}
// apply media fragment to all sources
for (const format of formats) {
format.url += mediaFragment
}
// rewrite description
video.descriptionHtml = converters.rewriteVideoDescription(video.descriptionHtml, id)