diff -r 0b710028f3d3 -r 60ca7678f074 integration/js/mashupplayer.js --- 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 @@ + '

Durée : <%= media.duration.toString() %>

' + '
<%= segments %>
'); segmenttemplate = _.template('
') + + ' class="frise-segment annotation" data-segment-id="<%= annotation.id %>" title="<%= annotation.title %>">'); 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 */