make video position stick when switching between player and timeline view (part 2)

This commit is contained in:
rlx 2011-01-18 16:28:33 +00:00
parent 1e4c19aa08
commit b08cd9e4b4

View file

@ -12161,16 +12161,18 @@ requires
}); });
function changeLargeTimeline(event, data) { function changeLargeTimeline(event, data) {
self.$video.position(data.position); self.options.position = data.position;
self.$video.position(self.options.position);
self.$timeline.small.options({ self.$timeline.small.options({
position: data.position position: self.options.position
}); });
} }
function changeSmallTimeline(event, data) { function changeSmallTimeline(event, data) {
self.$video.position(data.position); self.options.position = data.position;
self.$video.position(self.options.position);
self.$timeline.large.options({ self.$timeline.large.options({
position: data.position position: self.options.position
}); });
} }