--- a/integration/js/mediaplayer.js Mon Aug 26 13:06:12 2013 +0200
+++ b/integration/js/mediaplayer.js Tue Oct 01 16:16:07 2013 +0200
@@ -36,7 +36,7 @@
corrpos = Math.max(106, Math.min(516, pos)),
line = IriSP._(lines).find(function(line) {
return !IriSP._(line.annotations).find(function(ann) {
- return ann.begin < _a.end && ann.end > _a.begin
+ return ann.begin < _a.end && ann.end > _a.begin;
});
});
if (!line) {
@@ -53,7 +53,7 @@
top: 8 * line.index,
pointerpos : (pos - corrpos),
color: IriSP.vizcolors[i % IriSP.vizcolors.length]
- }
+ };
html += segmenttemplate(vizdata);
});
return segmentlisttemplate({
@@ -152,7 +152,7 @@
}).on("mouseout", ".item-video", function() {
$(".media-segment").removeClass("active");
});
-}
+};
/* END mediaplayer.js */