From 7db6e43e3f68f32dd375dda244285fd7f82b3d29 Mon Sep 17 00:00:00 2001 From: 138138138 <78271024+138138138@users.noreply.github.com> Date: Wed, 22 Jun 2022 19:10:46 +0800 Subject: [PATCH] Fix captions Captions should automatically show according to preferences. --- assets/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/player.js b/assets/js/player.js index 7d099e66..8486d875 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -673,7 +673,7 @@ if (player.share) player.share(shareOptions); // show the preferred caption by default if (player_data.preferred_caption_found) { player.ready(function () { - player.textTracks()[1].mode = 'showing'; + player.textTracks()[0].mode = 'showing'; }); }