mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix captions
Captions should automatically show according to preferences.
This commit is contained in:
parent
6c73614a47
commit
7db6e43e3f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue