diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js index 9899c6fa..6b62a2a9 100644 --- a/source/Ox.UI/js/Video/VideoPlayer.js +++ b/source/Ox.UI/js/Video/VideoPlayer.js @@ -180,7 +180,7 @@ Ox.VideoPlayer = function(options, self) { .options(options || {}) .update({ audioTrack: setAudioTrack, - enableSubtitles: setSubtitleTrack, + enableSubtitles: setSubtitlesTrack, find: setSubtitleText, fullscreen: function() { self.options.fullscreen = !self.options.fullscreen; @@ -2075,7 +2075,7 @@ Ox.VideoPlayer = function(options, self) { track = Ox.stripTags(title); self.options.subtitlesTrack = track == 'None' ? '' : Ox.getLanguageCodeByName(track); - setSubtitleTrack(); + setSubtitlesTrack(); } else { type = self.options.timelineTypes[ Ox.indexOf(self.options.timelineTypes, function(type) {