Embed: Support for subtitles and metadata tracks over websocket

LSP: Preview tab: Show meta information for metadata tracks
LSP/embed: use new inclzero flag to receive sources that are enabled, but that don't currently have active tracks; and bugfix for metadata update for tracks not firing if sources have also changed
Embed: dashjs: disable stock subtitles unless activated
This commit is contained in:
Cat 2022-11-09 10:41:21 +01:00 committed by Thulinma
parent f3ba13d6bb
commit c337fff614
11 changed files with 514 additions and 85 deletions

View file

@ -10,6 +10,28 @@
align-items: center;
justify-content: center;
}
.mistvideo-subtitles {
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
display: flex;
align-items: flex-end;
justify-content: center;
}
.mistvideo-subtitles > * {
margin-bottom: 0.5em;
padding: 0.1em 0.3em;
text-align: center;
background: rgba(0,0,0,0.6);
white-space: pre-wrap;
}
.mistvideo-subtitles > *:empty {
display: none;
}
.mistvideo[data-fullscreen] .mistvideo-subtitles {
font-size: 3vh;
}
.mistvideo-background { background-color: $background; }
.mistvideo-totalTime:before {
content: '/';