pass enableSubtitles to players

This commit is contained in:
j 2022-03-03 12:47:22 +00:00
parent a29d33e4b1
commit 472bdc64de

View file

@ -109,6 +109,11 @@ Ox.VideoAnnotationPanel = function(options, self) {
}) })
.options(options || {}) .options(options || {})
.update({ .update({
enableSubtitles: function() {
self.$player.forEach(function($player) {
$player.options('enableSubtitles', self.options.enableSubtitles);
});
},
height: setSizes, height: setSizes,
'in': function() { 'in': function() {
setPoint('in', self.options['in']); setPoint('in', self.options['in']);