make video position stick when switching between player and timeline view (part 2)
This commit is contained in:
parent
1e4c19aa08
commit
b08cd9e4b4
1 changed files with 6 additions and 4 deletions
|
@ -12161,16 +12161,18 @@ requires
|
|||
});
|
||||
|
||||
function changeLargeTimeline(event, data) {
|
||||
self.$video.position(data.position);
|
||||
self.options.position = data.position;
|
||||
self.$video.position(self.options.position);
|
||||
self.$timeline.small.options({
|
||||
position: data.position
|
||||
position: self.options.position
|
||||
});
|
||||
}
|
||||
|
||||
function changeSmallTimeline(event, data) {
|
||||
self.$video.position(data.position);
|
||||
self.options.position = data.position;
|
||||
self.$video.position(self.options.position);
|
||||
self.$timeline.large.options({
|
||||
position: data.position
|
||||
position: self.options.position
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue