show overlay on small timeline on in / out options change
This commit is contained in:
parent
7831dcd77d
commit
962362adb2
2 changed files with 3 additions and 2 deletions
|
@ -213,12 +213,12 @@ Ox.SmallVideoTimeline = function(options, self) {
|
||||||
self.$image.options({
|
self.$image.options({
|
||||||
'in': value
|
'in': value
|
||||||
});
|
});
|
||||||
setPointMarker('in');
|
self.options.type == 'editor' && setPointMarker('in');
|
||||||
} else if (key == 'out') {
|
} else if (key == 'out') {
|
||||||
self.$image.options({
|
self.$image.options({
|
||||||
out: value
|
out: value
|
||||||
});
|
});
|
||||||
setPointMarker('out');
|
self.options.type == 'editor' && setPointMarker('out');
|
||||||
} else if (key == 'paused') {
|
} else if (key == 'paused') {
|
||||||
self.$positionMarker[
|
self.$positionMarker[
|
||||||
self.options.paused ? 'addClass' : 'removeClass'
|
self.options.paused ? 'addClass' : 'removeClass'
|
||||||
|
|
|
@ -2337,6 +2337,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
setSizes();
|
setSizes();
|
||||||
} else if (key == 'in' || key == 'out') {
|
} else if (key == 'in' || key == 'out') {
|
||||||
self.options.paused && setMarkers();
|
self.options.paused && setMarkers();
|
||||||
|
self.$timeline.options(key, value);
|
||||||
} else if (key == 'muted') {
|
} else if (key == 'muted') {
|
||||||
toggleMuted();
|
toggleMuted();
|
||||||
} else if (key == 'paused') {
|
} else if (key == 'paused') {
|
||||||
|
|
Loading…
Reference in a new issue