1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-28 08:58:46 +02:00
video.js/sandbox
Thomas c61f3d3e49 feat: allow displaying of multiple text tracks at once (#5817)
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.
2019-06-18 15:42:39 -04:00
..
autoplay-tests.html.example chore: add a sandbox page for testing autoplay values. (#5933) 2019-04-29 14:45:02 -04:00
combined-tracks.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
descriptions.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
double-sub-video.html.example feat: allow displaying of multiple text tracks at once (#5817) 2019-06-18 15:42:39 -04:00
embeds.html.example chore: generate a test example on netlify for PRs (#4912) 2018-01-30 11:17:41 -05:00
flash.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
focus-visible.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
hls.html.example chore: add a sandbox for HLS (#5897) 2019-03-28 15:35:00 -04:00
hotkeys.html.example feat: add hotkeys support ("m", "f", "k", and Space) (#5571) 2019-01-25 14:10:29 -05:00
icons.html.example chore: generate a test example on netlify for PRs (#4912) 2018-01-30 11:17:41 -05:00
index.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
language.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
live.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
liveui.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00
middleware-play.html.example chore: remove grunt move to npm scripts (#5592) 2018-11-30 16:37:29 -05:00
plugin.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
responsive.html.example feat: Add responsive option, which enables breakpoints support. (#5496) 2018-10-11 17:03:33 -04:00
vertical-volume.html.example docs: remove grunt and update usage of build scripts (#5656) 2018-12-05 16:12:21 -05:00