mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-10 23:07:00 +00:00
Update VideoPlayer.vue
This commit is contained in:
parent
717b31f3fd
commit
4366e628b2
@ -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 New Issue
Block a user