From 472bdc64ded2a76affa00c940546d06b57c69c10 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 3 Mar 2022 12:47:22 +0000 Subject: [PATCH] pass enableSubtitles to players --- source/UI/js/Video/VideoAnnotationPanel.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/UI/js/Video/VideoAnnotationPanel.js b/source/UI/js/Video/VideoAnnotationPanel.js index 1e69262c..04d7ce03 100644 --- a/source/UI/js/Video/VideoAnnotationPanel.js +++ b/source/UI/js/Video/VideoAnnotationPanel.js @@ -109,6 +109,11 @@ Ox.VideoAnnotationPanel = function(options, self) { }) .options(options || {}) .update({ + enableSubtitles: function() { + self.$player.forEach(function($player) { + $player.options('enableSubtitles', self.options.enableSubtitles); + }); + }, height: setSizes, 'in': function() { setPoint('in', self.options['in']);