--- a/integration/js/mashupplayer.js Mon Aug 26 13:06:12 2013 +0200
+++ b/integration/js/mashupplayer.js Tue Oct 01 16:16:07 2013 +0200
@@ -13,7 +13,7 @@
+ '<p class="time-length">Durée : <span><%= media.duration.toString() %></span></p><div class="frise">'
+ '<div class="frise-overflow"><div class="frise-segments"><%= segments %></div></div></div></div></li>');
segmenttemplate = _.template('<div style="background-color:<%= annotation.color %>; left:<%= left %>%; width: <%= width %>%;"'
- + ' class="frise-segment annotation" data-segment-id="<%= annotation.id %>" title="<%= annotation.title %>"></div>')
+ + ' class="frise-segment annotation" data-segment-id="<%= annotation.id %>" title="<%= annotation.title %>"></div>');
project.onLoad(function() {
mashup = project.getMashups()[0];
@@ -42,13 +42,13 @@
annotation: segment.annotation,
left: k * segment.annotation.begin,
width: k * segment.annotation.getDuration()
- }
+ };
segmentshtml += segmenttemplate(vizdata);
});
var mediadata = {
media: media,
segments: segmentshtml
- }
+ };
$(".list-video").append(mediatemplate(mediadata));
});
@@ -97,6 +97,6 @@
mashup.play();
});
-}
+};
/* END mashupplayer.js */