mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Design error for if streams are not available
This commit is contained in:
parent
83dec0c7ab
commit
247f2ec664
2 changed files with 10 additions and 2 deletions
|
|
@ -20,8 +20,12 @@ block content
|
|||
.main-video-section
|
||||
.video-container
|
||||
- const format = sortedFormatStreams[0]
|
||||
video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video
|
||||
source(src=format.url type=format.type)
|
||||
if format
|
||||
video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video
|
||||
source(src=format.url type=format.type)
|
||||
else
|
||||
video(src="")#video.video
|
||||
.stream-notice The server provided no playback streams.
|
||||
|
||||
#current-time-container
|
||||
#end-cards-container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue