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 || [],
|
cuts: data.cuts || [],
|
||||||
duration: data.duration,
|
duration: data.duration,
|
||||||
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel || data.editable,
|
enableDownload: pandora.site.capabilities.canDownloadVideo[pandora.user.level] >= data.rightslevel || data.editable,
|
||||||
|
enableExport: true,
|
||||||
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level] || data.editable,
|
enableImport: pandora.site.capabilities.canImportAnnotations[pandora.user.level] || data.editable,
|
||||||
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
enableSetPosterFrame: !pandora.site.media.importFrames && data.editable,
|
||||||
enableSubtitles: ui.videoSubtitles,
|
enableSubtitles: ui.videoSubtitles,
|
||||||
|
@ -190,7 +191,7 @@ pandora.ui.editor = function(data) {
|
||||||
pandora.$ui.mainMenu.replaceItemMenu();
|
pandora.$ui.mainMenu.replaceItemMenu();
|
||||||
},
|
},
|
||||||
importannotations: function() {
|
importannotations: function() {
|
||||||
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog(data.duration).open();
|
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog({duration: data.duration}).open();
|
||||||
},
|
},
|
||||||
info: function(data) {
|
info: function(data) {
|
||||||
pandora.ui.annotationDialog(
|
pandora.ui.annotationDialog(
|
||||||
|
|
Loading…
Reference in a new issue