forked from 0x2620/oxjs
some more fixes
This commit is contained in:
parent
d0d1b94228
commit
32f4626a50
3 changed files with 23 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue