This commit is contained in:
rolux 2014-07-23 16:01:13 +02:00
parent 07fdb094dd
commit b133719680

View file

@ -180,7 +180,7 @@ Ox.VideoPlayer = function(options, self) {
.options(options || {}) .options(options || {})
.update({ .update({
audioTrack: setAudioTrack, audioTrack: setAudioTrack,
enableSubtitles: setSubtitleTrack, enableSubtitles: setSubtitlesTrack,
find: setSubtitleText, find: setSubtitleText,
fullscreen: function() { fullscreen: function() {
self.options.fullscreen = !self.options.fullscreen; self.options.fullscreen = !self.options.fullscreen;
@ -2075,7 +2075,7 @@ Ox.VideoPlayer = function(options, self) {
track = Ox.stripTags(title); track = Ox.stripTags(title);
self.options.subtitlesTrack = track == 'None' self.options.subtitlesTrack = track == 'None'
? '' : Ox.getLanguageCodeByName(track); ? '' : Ox.getLanguageCodeByName(track);
setSubtitleTrack(); setSubtitlesTrack();
} else { } else {
type = self.options.timelineTypes[ type = self.options.timelineTypes[
Ox.indexOf(self.options.timelineTypes, function(type) { Ox.indexOf(self.options.timelineTypes, function(type) {