mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-14 12:27:28 +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
|
.main-video-section
|
||||||
.video-container
|
.video-container
|
||||||
- const format = sortedFormatStreams[0]
|
- const format = sortedFormatStreams[0]
|
||||||
|
if format
|
||||||
video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video
|
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)
|
source(src=format.url type=format.type)
|
||||||
|
else
|
||||||
|
video(src="")#video.video
|
||||||
|
.stream-notice The server provided no playback streams.
|
||||||
|
|
||||||
#current-time-container
|
#current-time-container
|
||||||
#end-cards-container
|
#end-cards-container
|
||||||
|
@ -20,6 +20,10 @@
|
|||||||
height: auto
|
height: auto
|
||||||
max-height: 80vh
|
max-height: 80vh
|
||||||
|
|
||||||
|
.stream-notice
|
||||||
|
background: c.$bg-darkest
|
||||||
|
padding: 4px
|
||||||
|
|
||||||
.info
|
.info
|
||||||
display: flex
|
display: flex
|
||||||
margin: 8px 4px 16px
|
margin: 8px 4px 16px
|
||||||
|
Loading…
Reference in New Issue
Block a user