pass enableSubtitles to players
This commit is contained in:
parent
a29d33e4b1
commit
472bdc64de
1 changed files with 5 additions and 0 deletions
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue