mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
Update VideoPlayer.vue
This commit is contained in:
parent
717b31f3fd
commit
4366e628b2
@ -589,9 +589,7 @@ export default {
|
||||
videoEl.defaultPlaybackRate = rate;
|
||||
|
||||
const autoDisplayCaptions = this.getPreferenceBoolean("autoDisplayCaptions", false);
|
||||
if (autoDisplayCaptions) {
|
||||
this.$player.setTextTrackVisibility(!this.$player.isTextTrackVisible());
|
||||
}
|
||||
this.$player.setTextTrackVisibility(autoDisplayCaptions);
|
||||
});
|
||||
|
||||
// expand the player to fullscreen when the fullscreen query equals true
|
||||
|
Loading…
Reference in New Issue
Block a user