mirror of
https://github.com/videojs/video.js.git
synced 2025-01-06 06:50:51 +02:00
8329e64e6f
This is a follow-up to this fix in VHS, after which default in-manifest subtitles were still not being correctly enabled. The reason is because Video.js's text track preselection logic was running before the media groups were set up in VHS. Text track preselection should happen on `loadedmetadata` instead of `loadstart`. According to the HTML spec, text track data is available on `loadedmetadata`, so we should be waiting until then to make preselection decisions. |
||
---|---|---|
.. | ||
audio-track-list.test.js | ||
audio-track.test.js | ||
audio-tracks.test.js | ||
html-track-element-list.test.js | ||
html-track-element.test.js | ||
text-track-controls.test.js | ||
text-track-cue-list.test.js | ||
text-track-display.test.js | ||
text-track-list-converter.test.js | ||
text-track-list.test.js | ||
text-track-settings.test.js | ||
text-track.test.js | ||
text-tracks.test.js | ||
track-baseline.js | ||
track-list.test.js | ||
track.test.js | ||
video-track-list.test.js | ||
video-track.test.js | ||
video-tracks.test.js |