1
0
Fork 0
forked from 0x2620/oxjs

add some docstrings

This commit is contained in:
j 2011-09-14 10:34:33 -04:00
commit 4768dcfe8e
5 changed files with 108 additions and 1 deletions

View file

@ -386,37 +386,58 @@ Ox.VideoEditorPlayer = function(options, self) {
}
}
/*@
mute <f> mute
@*/
that.mute = function() {
self.$video.mute();
return that;
};
/*@
pause <f> pause
@*/
that.pause = function() {
self.$video.pause();
return that;
};
/*@
play <f> play
@*/
that.play = function() {
self.$video.play();
return that;
};
/*@
playInToOut <f> playInToOut
@*/
that.playInToOut = function() {
self.$video.paused() && self.$playButton.toggleTitle();
self.$video.playInToOut();
return that;
};
/*@
toggleMute <f> toggleMute
@*/
that.toggleMute = function() {
self.$muteButton.trigger('click');
return that;
}
/*@
togglePlay <f> togglePlay
@*/
that.togglePlay = function() {
self.$playButton.trigger('click');
return that;
}
/*@
unmute <f> unmute
@*/
that.unmute = function() {
self.$video.unmute();
return that;