fix a bug in video player

This commit is contained in:
rolux 2013-02-21 01:44:12 +05:30
parent 6619e971a5
commit bdddabeb3f

View file

@ -1946,12 +1946,12 @@ Ox.VideoPlayer = function(options, self) {
title: 'Subtitles' title: 'Subtitles'
}] }]
: [], : [],
self.options.timelineTypes self.options.timelineTypes.length
? [{}, { ? [{}, {
disabled: true, disabled: true,
title: 'Timeline' title: 'Timeline'
}] : [], }] : [],
self.options.timelineTypes self.options.timelineTypes.length
? self.options.timelineTypes.map(function(type) { ? self.options.timelineTypes.map(function(type) {
return { return {
checked: type.id == self.options.timelineType, checked: type.id == self.options.timelineType,