forked from 0x2620/oxjs
fix setting position and paused state on timeline panel and player
This commit is contained in:
parent
68d50978ba
commit
ba724933e8
2 changed files with 11 additions and 2 deletions
|
|
@ -799,6 +799,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self.setOption = function(key, value) {
|
||||
if (key == 'height') {
|
||||
setHeight();
|
||||
} else if (key == 'paused') {
|
||||
self.options.paused = !self.options.paused;
|
||||
togglePaused();
|
||||
} else if (key == 'position') {
|
||||
setPosition();
|
||||
} else if (key == 'width') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue