mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 13:07:00 +00:00
Adjustments for Invidious compatibility:
- Formats without a qualityLabel are hidden - Channel page descriptionHtml appearance fixed
This commit is contained in:
parent
41e860facb
commit
3c99c040ee
@ -15,7 +15,7 @@ block content
|
||||
unless error
|
||||
main.video-page
|
||||
- const sortedFormatStreams = video.formatStreams.slice().sort((a, b) => b.second__height - a.second__height)
|
||||
- const sortedVideoAdaptiveFormats = video.adaptiveFormats.filter(f => f.type.startsWith("video")).sort((a, b) => a.second__order - b.second__order)
|
||||
- const sortedVideoAdaptiveFormats = video.adaptiveFormats.filter(f => f.type.startsWith("video") && f.qualityLabel).sort((a, b) => a.second__order - b.second__order)
|
||||
|
||||
.main-video-section
|
||||
.video-container
|
||||
|
@ -61,3 +61,9 @@
|
||||
|
||||
.channel-video
|
||||
@include channel-video
|
||||
|
||||
.about-description // class provided by youtube
|
||||
pre
|
||||
font-size: inherit
|
||||
font-family: inherit
|
||||
white-space: pre-wrap
|
||||
|
Loading…
Reference in New Issue
Block a user