forked from 0x2620/pandora
enable annotations export in editor
This commit is contained in:
parent
bee3906d97
commit
a9bbc86fda
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ pandora.ui.editor = function(data) {
|
|||
cuts: data.cuts || [],
|
||||
duration: data.duration,
|
||||
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel || data.editable,
|
||||
enableExport: true,
|
||||
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level] || data.editable,
|
||||
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
||||
enableSubtitles: ui.videoSubtitles,
|
||||
|
@ -190,7 +191,7 @@ pandora.ui.editor = function(data) {
|
|||
pandora.$ui.mainMenu.replaceItemMenu();
|
||||
},
|
||||
importannotations: function() {
|
||||
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog(data.duration).open();
|
||||
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog({duration: data.duration}).open();
|
||||
},
|
||||
info: function(data) {
|
||||
pandora.ui.annotationDialog(
|
||||
|
|
Loading…
Reference in a new issue