mirror of
https://github.com/videojs/video.js.git
synced 2025-02-02 11:34:50 +02:00
c1cbce386d
When preselecting a new track based on user preference, make sure that the language is actually set and that the track we're testing is either a captions or a subtitles track. Fixes #5553