mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 13:07:00 +00:00
Design error for if streams are not available
This commit is contained in:
parent
83dec0c7ab
commit
247f2ec664
@ -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
|
||||
|
@ -20,6 +20,10 @@
|
||||
height: auto
|
||||
max-height: 80vh
|
||||
|
||||
.stream-notice
|
||||
background: c.$bg-darkest
|
||||
padding: 4px
|
||||
|
||||
.info
|
||||
display: flex
|
||||
margin: 8px 4px 16px
|
||||
|
Loading…
Reference in New Issue
Block a user