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 || {})
.update({
enableSubtitles: function() {
self.$player.forEach(function($player) {
$player.options('enableSubtitles', self.options.enableSubtitles);
});
},
height: setSizes,
'in': function() {
setPoint('in', self.options['in']);