--- a/web/res/metadataplayer/MultiSegments.js Fri Dec 11 18:11:13 2015 +0100
+++ b/web/res/metadataplayer/MultiSegments.js Tue Dec 29 13:25:14 2015 +0100
@@ -27,7 +27,7 @@
});
this.source.getAnnotationTypes().forEach(function(_anntype) {
var segments = _anntype.getAnnotations().filter(function(_ann) {
- return _ann.getDuration() > 0;
+ return _ann.getDuration() > 0 && _ann.getMedia().id == _this.media.id;
});
if (segments.length) {
@@ -80,7 +80,7 @@
IriSP._({
type: "Segments",
annotation_type: _anntype,
- width: _this.width
+ width: '100%'
}).extend(segmentsopts)
);
@@ -89,7 +89,7 @@
IriSP._({
type: "Annotation",
annotation_type: _anntype,
- width: _this.width
+ width: '100%'
}).extend(annotationopts)
);