mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Update VideoPlayer.vue
This commit is contained in:
parent
717b31f3fd
commit
4366e628b2
1 changed files with 1 additions and 3 deletions
|
@ -589,9 +589,7 @@ export default {
|
||||||
videoEl.defaultPlaybackRate = rate;
|
videoEl.defaultPlaybackRate = rate;
|
||||||
|
|
||||||
const autoDisplayCaptions = this.getPreferenceBoolean("autoDisplayCaptions", false);
|
const autoDisplayCaptions = this.getPreferenceBoolean("autoDisplayCaptions", false);
|
||||||
if (autoDisplayCaptions) {
|
this.$player.setTextTrackVisibility(autoDisplayCaptions);
|
||||||
this.$player.setTextTrackVisibility(!this.$player.isTextTrackVisible());
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// expand the player to fullscreen when the fullscreen query equals true
|
// expand the player to fullscreen when the fullscreen query equals true
|
||||||
|
|
Loading…
Reference in a new issue