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:
parent
7023d0287c
commit
c811a4aaf9
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue