forked from 0x2620/oxjs
add chapter support to VideoPlayer, use for next/previous in VideoEditPanel
This commit is contained in:
parent
19b9b14dfc
commit
5b29e4348b
3 changed files with 38 additions and 23 deletions
|
|
@ -428,24 +428,6 @@ Ox.VideoElement = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
playNext <f> play next
|
||||
@*/
|
||||
that.playNext = function() {
|
||||
Ox.Log('Video', 'PLAY NEXT');
|
||||
setCurrentItem(self.currentItem + 1);
|
||||
self.video.play();
|
||||
};
|
||||
|
||||
/*@
|
||||
playPrevious <f> play previous
|
||||
@*/
|
||||
that.playPrevious = function() {
|
||||
Ox.Log('Video', 'PLAY PREVIOUS');
|
||||
setCurrentItem(self.currentItem - 1);
|
||||
self.video.play();
|
||||
};
|
||||
|
||||
/*@
|
||||
videoHeight <f> get videoHeight
|
||||
@*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue