mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Support t parameter using media fragments
This commit is contained in:
parent
36f33b9f7e
commit
bb4816c4b3
3 changed files with 56 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ block content
|
|||
- const format = sortedFormatStreams[0]
|
||||
if format
|
||||
video(controls preload="auto" poster=`/vi/${video.videoId}/maxresdefault.jpg` width=format.second__width height=format.second__height data-itag=format.itag)#video.video
|
||||
source(src=format.url type=format.type)
|
||||
source(src=format.url+mediaFragment type=format.type)
|
||||
else
|
||||
video(src="")#video.video
|
||||
.stream-notice The server provided no playback streams.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue