diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 1d5d5cb1..c643b055 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -587,6 +587,11 @@ export default { const rate = this.getPreferenceNumber("rate", 1); videoEl.playbackRate = rate; videoEl.defaultPlaybackRate = rate; + + const autoDisplayCaptions = this.getPreferenceBoolean("autoDisplayCaptions", false); + if (autoDisplayCaptions) { + this.$player.setTextTrackVisibility(!this.$player.isTextTrackVisible()); + } }); // expand the player to fullscreen when the fullscreen query equals true