no annotations

This commit is contained in:
j 2023-06-30 15:56:41 +05:30
parent 9b5bb2cd06
commit 0dfed9de74

View file

@ -478,7 +478,7 @@ Ox.VideoPlayerPanel = function(options, self) {
}
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 {id: item.id, 'in': item['in'], out: item.out, text: item.value};
});