forked from 0x2620/oxjs
allow for grouped highlights in video annotations
This commit is contained in:
parent
56cbb3b90c
commit
a5f7dd720a
5 changed files with 107 additions and 46 deletions
|
|
@ -49,6 +49,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
annotationsCalendarSize: 256,
|
||||
annotationsHighlight: false,
|
||||
annotationsMapSize: 256,
|
||||
annotationsRange: 'all',
|
||||
annotationsSeparator: ';',
|
||||
|
|
@ -841,6 +842,7 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
enableExport: self.options.enableExport,
|
||||
enableImport: self.options.enableImport,
|
||||
highlight: self.options.find,
|
||||
highlightAnnotations: self.options.annotationsHighlight,
|
||||
highlightLayer: self.options.findLayer,
|
||||
'in': self.options['in'],
|
||||
itemName: self.options.itemName,
|
||||
|
|
@ -906,6 +908,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
|||
that.triggerEvent('findannotations', data);
|
||||
},
|
||||
focus: that.gainFocus,
|
||||
highlightannotations: function(data) {
|
||||
self.options.annotationsHighlight = data;
|
||||
that.triggerEvent('annotationshighlight', data);
|
||||
},
|
||||
highlightlayer: function(data) {
|
||||
self.options.findLayer = data;
|
||||
submitFindInput(self.$findInput.value(), false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue