forked from 0x2620/pandora
add annotation highlights
This commit is contained in:
parent
d7fa7efcbc
commit
93c654c014
3 changed files with 8 additions and 2 deletions
|
@ -100,7 +100,7 @@
|
||||||
"clipLayers": ["transcripts", "keywords", "places", "events", "descriptions"],
|
"clipLayers": ["transcripts", "keywords", "places", "events", "descriptions"],
|
||||||
/*
|
/*
|
||||||
"documentKeys" defines the metadata associated with each document. Required keys
|
"documentKeys" defines the metadata associated with each document. Required keys
|
||||||
are "*", "id" and "title".
|
are "*", "id" and "title".
|
||||||
A documentKey must have the following properties:
|
A documentKey must have the following properties:
|
||||||
"id": The unique id of the key (as used by the server)
|
"id": The unique id of the key (as used by the server)
|
||||||
"title": The title of the key (as displayed by the client)
|
"title": The title of the key (as displayed by the client)
|
||||||
|
@ -1003,7 +1003,7 @@
|
||||||
*/
|
*/
|
||||||
"media": {
|
"media": {
|
||||||
"importPosters": false,
|
"importPosters": false,
|
||||||
"importFrames": false
|
"importFrames": false
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
"menuExtras" can be used to add extra functionality to the main menu bar.
|
"menuExtras" can be used to add extra functionality to the main menu bar.
|
||||||
|
@ -1148,6 +1148,7 @@
|
||||||
"level": "guest",
|
"level": "guest",
|
||||||
"ui": {
|
"ui": {
|
||||||
"annotationsCalendarSize": 128,
|
"annotationsCalendarSize": 128,
|
||||||
|
"annotationsHighlight": false,
|
||||||
"annotationsMapSize": 128,
|
"annotationsMapSize": 128,
|
||||||
"annotationsRange": "position",
|
"annotationsRange": "position",
|
||||||
"annotationsSize": 256,
|
"annotationsSize": 256,
|
||||||
|
|
|
@ -1095,6 +1095,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"level": "guest",
|
"level": "guest",
|
||||||
"ui": {
|
"ui": {
|
||||||
"annotationsCalendarSize": 128,
|
"annotationsCalendarSize": 128,
|
||||||
|
"annotationsHighlight": false,
|
||||||
"annotationsMapSize": 128,
|
"annotationsMapSize": 128,
|
||||||
"annotationsRange": "all",
|
"annotationsRange": "all",
|
||||||
"annotationsSize": 256,
|
"annotationsSize": 256,
|
||||||
|
|
|
@ -7,6 +7,7 @@ pandora.ui.editor = function(data) {
|
||||||
|
|
||||||
that = Ox.VideoAnnotationPanel({
|
that = Ox.VideoAnnotationPanel({
|
||||||
annotationsCalendarSize: ui.annotationsCalendarSize,
|
annotationsCalendarSize: ui.annotationsCalendarSize,
|
||||||
|
annotationsHighlight: ui.annotationsHighlight,
|
||||||
annotationsMapSize: ui.annotationsMapSize,
|
annotationsMapSize: ui.annotationsMapSize,
|
||||||
annotationsRange: ui.annotationsRange,
|
annotationsRange: ui.annotationsRange,
|
||||||
annotationsSeparator: pandora.site.annotations.separator,
|
annotationsSeparator: pandora.site.annotations.separator,
|
||||||
|
@ -138,6 +139,9 @@ pandora.ui.editor = function(data) {
|
||||||
Ox.Request.clearCache();
|
Ox.Request.clearCache();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
annotationshighlight: function(data) {
|
||||||
|
pandora.UI.set({annotationsHighlight: data});
|
||||||
|
},
|
||||||
annotationsrange: function(data) {
|
annotationsrange: function(data) {
|
||||||
pandora.UI.set({annotationsRange: data.range});
|
pandora.UI.set({annotationsRange: data.range});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue