forked from 0x2620/oxjs
fix event handlers and split panel resize event
This commit is contained in:
parent
3f90e96c3a
commit
da9e5dbb29
27 changed files with 722 additions and 118 deletions
|
|
@ -251,11 +251,11 @@ Ox.VideoEditorPlayer = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
function paused(event, data) {
|
||||
function paused() {
|
||||
self.$playButton.toggleTitle();
|
||||
}
|
||||
|
||||
function playing(event, data) {
|
||||
function playing(data) {
|
||||
self.options.position = data.position;
|
||||
setMarkers();
|
||||
setSubtitle();
|
||||
|
|
@ -365,7 +365,7 @@ Ox.VideoEditorPlayer = function(options, self) {
|
|||
self.video.paused ? that.play() : that.pause();
|
||||
}
|
||||
|
||||
function toggleSize(event, data) {
|
||||
function toggleSize(data) {
|
||||
self.options.size = data.id
|
||||
that.triggerEvent('togglesize', {
|
||||
size: self.options.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue