fix bugs in video panel player

This commit is contained in:
rlx 2011-11-05 20:14:24 +00:00
parent 4348894ad1
commit 2b3d8807d9

View file

@ -1,7 +1,5 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript // vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
/*@ /*@
Ox.VideoPanelPlayer <f:Ox.Element> VideoPanelPlayer Object Ox.VideoPanelPlayer <f:Ox.Element> VideoPanelPlayer Object
() -> <f> VideoPanelPlayer Object () -> <f> VideoPanelPlayer Object
@ -99,13 +97,13 @@ Ox.VideoPanelPlayer = function(options, self) {
fullscreen: function(data) { fullscreen: function(data) {
self.options.fullscreen = data.fullscreen; self.options.fullscreen = data.fullscreen;
}, },
position: setPosition,
muted: function(data) { muted: function(data) {
that.triggerEvent('muted', data); that.triggerEvent('muted', data);
}, },
paused: function(data) { paused: function(data) {
that.triggerEvent('paused', data); that.triggerEvent('paused', data);
}, },
playing: setPosition,
position: function(data) { position: function(data) {
that.triggerEvent('position', data); that.triggerEvent('position', data);
}, },