1
0
Fork 0
forked from 0x2620/oxjs

some more fixes

This commit is contained in:
rlx 2011-08-19 20:37:58 +00:00
commit 32f4626a50
3 changed files with 23 additions and 17 deletions

View file

@ -177,11 +177,17 @@ Ox.VideoPanelPlayer = function(options, self) {
}
function resizeAnnotations(event, data) {
// called on annotations resize
self.options.annotationsSize = data;
resizeVideoAndControls();
self.$video.options({
width: getPlayerWidth()
});
self.$timeline.options({
width: getTimelineWidth()
});
}
function resizeendAnnotations(data) {
function resizeendAnnotations(event, data) {
self.options.annotationsSize = data;
that.triggerEvent('resizeannotations', {
annotationsSize: self.options.annotationsSize