mirror of
https://github.com/videojs/video.js.git
synced 2024-11-28 08:58:46 +02:00
c61f3d3e49
This allows the user to display multiple tracks when `allowMultipleShowingTracks` is passed to the `TextTrackDisplay`. Currently, multiple tracks must be shown programmatically and cannot be done via the subtitles menus. In addition, this adds two new classes to cue elements: `vjs-text-track-cue` and `vjs-text-track-cue-${track.language}`. This allows easier targetting with CSS. Example usage: ```js var player = videojs('example-video', { textTrackDisplay: { allowMultipleShowingTracks: true } }); ``` Fixes #5798. |
||
---|---|---|
.. | ||
autoplay-tests.html.example | ||
combined-tracks.html.example | ||
descriptions.html.example | ||
double-sub-video.html.example | ||
embeds.html.example | ||
flash.html.example | ||
focus-visible.html.example | ||
hls.html.example | ||
hotkeys.html.example | ||
icons.html.example | ||
index.html.example | ||
language.html.example | ||
live.html.example | ||
liveui.html.example | ||
middleware-play.html.example | ||
plugin.html.example | ||
responsive.html.example | ||
vertical-volume.html.example |