no annotations
This commit is contained in:
parent
9b5bb2cd06
commit
0dfed9de74
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ Ox.VideoPlayerPanel = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAnnotations() {
|
function getAnnotations() {
|
||||||
return Ox.flatten(self.options.layers.map(function(layer) {
|
return !self.options.layers ? [] : Ox.flatten(self.options.layers.map(function(layer) {
|
||||||
return layer.items.map(function(item) {
|
return layer.items.map(function(item) {
|
||||||
return {id: item.id, 'in': item['in'], out: item.out, text: item.value};
|
return {id: item.id, 'in': item['in'], out: item.out, text: item.value};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue