equal
deleted
inserted
replaced
25 annotationopts[_k.replace(/^annotation_/,"")] = _v; |
25 annotationopts[_k.replace(/^annotation_/,"")] = _v; |
26 } |
26 } |
27 }); |
27 }); |
28 this.source.getAnnotationTypes().forEach(function(_anntype) { |
28 this.source.getAnnotationTypes().forEach(function(_anntype) { |
29 var segments = _anntype.getAnnotations().filter(function(_ann) { |
29 var segments = _anntype.getAnnotations().filter(function(_ann) { |
30 return _ann.getDuration() > 0; |
30 return _ann.getDuration() > 0 && _ann.getMedia().id == _this.media.id; |
31 }); |
31 }); |
32 if (segments.length) { |
32 if (segments.length) { |
33 |
33 |
34 var visible = false; |
34 var visible = false; |
35 |
35 |