equal
deleted
inserted
replaced
5 url: options.url, |
5 url: options.url, |
6 serializer: IriSP.serializers.ldt |
6 serializer: IriSP.serializers.ldt |
7 }), |
7 }), |
8 mashup, |
8 mashup, |
9 mediatemplate = _.template('<li class="item-video media" data-media-id="<%= media.id %>">' |
9 mediatemplate = _.template('<li class="item-video media" data-media-id="<%= media.id %>">' |
10 + '<a href="#"><img alt="<%= media.title %>" src="<%= media.thumbnail %>"></a><div class="video-info">' |
10 + '<a href="#"><img class="thumbnail" alt="<%= media.title %>" src="<%= media.thumbnail %>"></a><div class="video-info">' |
11 + '<h3 class="title-video"><a href="#"><%= media.title %></a></h3><p class="description"><%= media.description %></p>' |
11 + '<h3 class="title-video"><a href="#"><%= media.title %></a></h3><p class="description"><%= media.description %></p>' |
12 + '<p class="time-length">Durée : <span><%= media.duration.toString() %></span></p><div class="frise">' |
12 + '<p class="time-length">Durée : <span><%= media.duration.toString() %></span></p><div class="frise">' |
13 + '<div class="frise-overflow"><div class="frise-segments"><%= segments %></div></div></div></div></li>'); |
13 + '<div class="frise-overflow"><div class="frise-segments"><%= segments %></div></div></div></div></li>'); |
14 segmenttemplate = _.template('<div style="background-color:<%= annotation.color %>; left:<%= left %>%; width: <%= width %>%;"' |
14 segmenttemplate = _.template('<div style="background-color:<%= annotation.color %>; left:<%= left %>%; width: <%= width %>%;"' |
15 + ' class="frise-segment annotation" data-segment-id="<%= annotation.id %>" title="<%= annotation.title %>"></div>') |
15 + ' class="frise-segment annotation" data-segment-id="<%= annotation.id %>" title="<%= annotation.title %>"></div>') |