integration/js/mashupplayer.js
changeset 50 89e152523cb6
parent 49 a21b851538b2
child 73 475e5fb0ea2b
--- a/integration/js/mashupplayer.js	Fri Nov 23 19:13:50 2012 +0100
+++ b/integration/js/mashupplayer.js	Mon Nov 26 18:42:56 2012 +0100
@@ -9,7 +9,7 @@
         mashup,
         mediatemplate = _.template('<li class="item-video media" data-media-id="<%= media.id %>">'
             + '<a href="<%= IriSP.endpoints.media_page + media.id %>"><img class="thumbnail" alt="<%= media.title %>" src="<%= media.thumbnail %>"></a><div class="video-info">'
-            + '<h3 class="title-video"><a href="#"><%= media.title %></a></h3><p class="description"><%= media.description %></p>'
+            + '<h3 class="title-video"><a href="<%= IriSP.endpoints.media_page + media.id %>"><%= media.title %></a></h3><p class="description"><%= media.description %></p>'
             + '<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 %>%;"'
@@ -86,3 +86,5 @@
         
     });
 }
+
+/* END mashupplayer.js */