1
0
Fork 0
forked from 0x2620/oxjs

video chapter titles

This commit is contained in:
rolux 2014-02-08 07:39:10 +00:00
commit 74101b1e22
2 changed files with 10 additions and 7 deletions

View file

@ -199,7 +199,7 @@ Ox.VideoEditPanel = function(options, self) {
self.$video = Ox.VideoPlayer({
chapters: self.chapters,
controlsTop: ['fullscreen', 'space', 'open'],
controlsTop: ['fullscreen', 'chapterTitle', 'open'],
controlsBottom: [
'play', 'playInToOut', 'volume', 'scale', 'timeline',
'previous', 'next', 'loop', 'position', 'settings'
@ -431,7 +431,7 @@ Ox.VideoEditPanel = function(options, self) {
return self.options.clips.map(function(clip) {
return {
position: clip.position,
title: clip.title || clip.id
title: self.options.formatTitle(clip)
};
});
}