forked from 0x2620/oxjs
better api for timeline images
This commit is contained in:
parent
1f2a7f6953
commit
bab9c8be8e
5 changed files with 33 additions and 30 deletions
|
|
@ -1144,15 +1144,13 @@ Ox.VideoPlayer = function(options, self) {
|
|||
var $timeline = Ox.SmallVideoTimeline({
|
||||
_offset: getTimelineLeft(),
|
||||
duration: self.options.duration,
|
||||
getTimelineURL: Ox.isString(self.options.timeline) ?
|
||||
function() { return self.options.timeline; } :
|
||||
self.options.timeline,
|
||||
'in': self.options['in'],
|
||||
out: self.options.out,
|
||||
paused: self.options.paused,
|
||||
results: self.results,
|
||||
showMilliseconds: self.options.showMilliseconds,
|
||||
subtitles: self.options.subtitles,
|
||||
timeline: self.options.timeline,
|
||||
type: 'player',
|
||||
width: getTimelineWidth()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue