forked from 0x2620/oxjs
video chapter titles
This commit is contained in:
parent
cb0ec49a13
commit
74101b1e22
2 changed files with 10 additions and 7 deletions
|
|
@ -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)
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue