Fix captions

Captions should automatically show according to preferences.
pull/3157/head
138138138 2 years ago committed by GitHub
parent 6c73614a47
commit 7db6e43e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -673,7 +673,7 @@ if (player.share) player.share(shareOptions);
// show the preferred caption by default // show the preferred caption by default
if (player_data.preferred_caption_found) { if (player_data.preferred_caption_found) {
player.ready(function () { player.ready(function () {
player.textTracks()[1].mode = 'showing'; player.textTracks()[0].mode = 'showing';
}); });
} }

Loading…
Cancel
Save