fix #2327 (Video Player throws when trying to add or edit subtitle)
This commit is contained in:
parent
18cd1fedc9
commit
5dac5b5a19
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ Ox.VideoPlayer = function(options, self) {
|
|||
},
|
||||
subtitles: function() {
|
||||
loadSubtitles();
|
||||
self.$settings.replaceWith(self.$settings = renderSettings());
|
||||
self.$settings && self.$settings.replaceWith(self.$settings = renderSettings());
|
||||
},
|
||||
timeline: function() {
|
||||
self.$timeline.options({imageURL: self.options.timeline});
|
||||
|
|
Loading…
Reference in a new issue