update posterFrame in players, fixes #476
This commit is contained in:
parent
658fca3c76
commit
ac25a69aaa
1 changed files with 3 additions and 0 deletions
|
@ -471,6 +471,9 @@ Ox.VideoEditor = function(options, self) {
|
|||
setPosition(self.options.posterFrame);
|
||||
} else if (id == 'setPosterFrame') {
|
||||
self.options.posterFrame = self.options.position;
|
||||
self.$player.forEach(function($player) {
|
||||
$player.options('posterFrame', self.options.posterFrame);
|
||||
});
|
||||
that.triggerEvent('posterframe', {
|
||||
position: self.options.posterFrame
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue