update posterFrame in players, fixes #476

This commit is contained in:
j 2012-02-16 21:14:46 +05:30
parent 658fca3c76
commit ac25a69aaa

View file

@ -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
});