|
91
|
1 |
{% extends "mashup_home.html" %} |
|
67
|
2 |
{% load static %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
{% load analytics %} |
|
|
5 |
{% load thumbnail %} |
|
104
|
6 |
{% block title %}{% blocktrans with title=proj.title %}Playing hashcut {{title}}{% endblocktrans %}{% endblock %} |
|
82
|
7 |
{% block css_page %} |
|
91
|
8 |
<link rel="stylesheet" href="{% static 'hashcut' %}/{{branding}}/css/players.css" /> |
|
67
|
9 |
{% endblock %} |
|
|
10 |
|
|
104
|
11 |
{% block js_import %} |
|
|
12 |
{{ block.super }} |
|
|
13 |
<script type="text/javascript" src="{% static 'hashcut/lib/underscore-min.js' %}"></script> |
|
|
14 |
<script type="text/javascript" src="{% static 'hashcut/js/hashcut.js' %}"></script> |
|
|
15 |
<script type="text/javascript"> |
|
|
16 |
IriSP.endpoints = { |
|
|
17 |
content: "{% url api_dispatch_list api_name='1.0' resource_name='contents' %}", |
|
|
18 |
project: "{% url api_dispatch_list api_name='1.0' resource_name='projects' %}", |
|
|
19 |
segment: "{% url api_dispatch_list api_name='1.0' resource_name='segments' %}", |
|
109
|
20 |
ldt: "{% url projectjson_id id='__PROJECT_ID__' %}", |
|
108
|
21 |
media_page: "{% url mashup_content branding=branding ctt_id='__CONTENT_ID__' %}" |
|
104
|
22 |
}; |
|
|
23 |
|
|
|
24 |
$(function() { |
|
|
25 |
IriSP.video_url_transform = function(oldurl) { |
|
|
26 |
var newurl = oldurl.replace(/mp4:/i,''); |
|
|
27 |
newurl = newurl.replace(/ddc_player\//i,''); |
|
|
28 |
newurl = newurl.replace(/rtmp/i,'http'); |
|
|
29 |
return newurl; |
|
|
30 |
}; |
|
|
31 |
IriSP.mashupplayer({ |
|
|
32 |
id: "{{ldt_id}}" |
|
|
33 |
}); |
|
|
34 |
}); |
|
|
35 |
</script> |
|
|
36 |
{% endblock %} |
|
|
37 |
|
|
67
|
38 |
{% block wrap_header %} |
|
|
39 |
<div class="wrap-header"> |
|
|
40 |
<div class="header"> |
|
91
|
41 |
{% include 'partial/mashup_popin_user.html' %} |
|
|
42 |
{% include 'partial/hashcut_logo.html' %} |
|
67
|
43 |
<div class="title-video-wrap"> |
|
86
|
44 |
<p class="title-video" href="#"> |
|
104
|
45 |
<span class="category">{% trans 'Hashcut' %}</span> |
|
86
|
46 |
<span class="separator">»</span> |
|
|
47 |
{{proj.title}} |
|
|
48 |
</p> |
|
|
49 |
</div> |
|
104
|
50 |
<div class="Ldt-Social"></div> |
|
67
|
51 |
<div class="profil-wrap"> |
|
|
52 |
<ul> |
|
84
|
53 |
<li><a href="{% url mashup_home branding=branding %}" class="all-hashcut">Accueil</a></li> |
|
68
|
54 |
<li><a href="{% url mashup_edit branding=branding %}" class="new-hashcut">Créer un Hashcut</a></li> |
|
67
|
55 |
<li><a href="#user" class="my-profil open-popin">Mon profil</a></li> |
|
|
56 |
</ul> |
|
|
57 |
</div> |
|
|
58 |
</div><!-- header --> |
|
|
59 |
</div><!-- wrap-header --> |
|
|
60 |
{% endblock %} |
|
|
61 |
|
|
|
62 |
{% block content %} |
|
|
63 |
<div class="content clearfix"> |
|
|
64 |
<div class="left-content"> |
|
|
65 |
<div class="bloc-video"> |
|
|
66 |
<div class="video"> |
|
|
67 |
<div class="video-wait"></div> |
|
|
68 |
</div> |
|
|
69 |
<div class="widget"> |
|
|
70 |
<div class="Ldt-Slider-Container"> |
|
|
71 |
<div class="Ldt-Slider"></div> |
|
|
72 |
</div> |
|
|
73 |
<div class="Ldt-Slider-Time"></div> |
|
|
74 |
|
|
|
75 |
<div class="Ldt-Ctrl"> |
|
|
76 |
<div class="Ldt-Ctrl-Left"> |
|
104
|
77 |
<div title="{% trans 'Play/Pause' %}" class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState"></div> |
|
67
|
78 |
<div class="Ldt-Ctrl-spacer"></div> |
|
|
79 |
</div> |
|
|
80 |
<div class="Ldt-Ctrl-Right"> |
|
|
81 |
<div class="Ldt-Ctrl-spacer"></div> |
|
|
82 |
<div class="Ldt-Ctrl-Time"> |
|
104
|
83 |
<div class="Ldt-Ctrl-Time-Elapsed" title="{% trans 'Elapsed time' %}">00:00</div> |
|
67
|
84 |
<div class="Ldt-Ctrl-Time-Separator">/</div> |
|
104
|
85 |
<div class="Ldt-Ctrl-Time-Total" title="{% trans 'Total time' %}">00:00</div> |
|
67
|
86 |
</div> |
|
|
87 |
<div class="Ldt-Ctrl-spacer"></div> |
|
104
|
88 |
<div class="Ldt-Ctrl-button Ldt-Ctrl-Sound Ldt-Ctrl-Sound-Full" title="{% trans 'Mute/Unmute' %}"></div> |
|
67
|
89 |
</div> |
|
104
|
90 |
<div class="Ldt-Ctrl-Volume-Control" title="{% trans 'Set volume' %}"> |
|
67
|
91 |
<div class="Ldt-Ctrl-Volume-Bar"></div> |
|
|
92 |
</div> |
|
|
93 |
</div> |
|
|
94 |
|
|
|
95 |
</div> |
|
|
96 |
<div class="frise mashup-frise"> |
|
|
97 |
<div class="frise-overflow"> |
|
|
98 |
<div class="frise-segments"> |
|
|
99 |
</div> |
|
|
100 |
<div class="frise-indications"> |
|
|
101 |
</div> |
|
|
102 |
</div> |
|
|
103 |
<div class="frise-position"></div> |
|
|
104 |
<div class="mashup-tooltip segment-tooltip-wrapper"> |
|
|
105 |
<div class="segment-tooltip"></div> |
|
|
106 |
<div class="segment-tooltip-tip"></div> |
|
|
107 |
</div> |
|
|
108 |
|
|
|
109 |
</div> |
|
|
110 |
<div class="segment-info mashup-description"> |
|
|
111 |
<div class="pointer" style="left: 50%;"></div> |
|
|
112 |
<div class="popin-content"> |
|
82
|
113 |
<h2><span class="annotation-title"></span></h2> |
|
67
|
114 |
<table> |
|
|
115 |
<tbody> |
|
|
116 |
<tr> |
|
104
|
117 |
<th>{% trans 'Excerpt from:' %}</th> |
|
67
|
118 |
<td><span class="annotation-media-title"></span> (<span class="annotation-time annotation-begin"></span> - <span class="annotation-time annotation-end"></span>)</td> |
|
|
119 |
</tr> |
|
|
120 |
<tr> |
|
104
|
121 |
<th>{% trans 'Description:' %}</th> |
|
67
|
122 |
<td><span class="annotation-description"></span></td> |
|
|
123 |
</tr> |
|
|
124 |
<tr> |
|
104
|
125 |
<th>{% trans 'Tags:' %}</th> |
|
67
|
126 |
<td><span class="annotation-tags"></span></td> |
|
|
127 |
</tr> |
|
|
128 |
</tbody> |
|
|
129 |
</table> |
|
|
130 |
</div> |
|
|
131 |
</div> |
|
|
132 |
</div><!-- bloc-video --> |
|
|
133 |
</div><!-- left-content --> |
|
|
134 |
|
|
|
135 |
<div class="right-content"> |
|
104
|
136 |
<h2>{% trans 'More information' %}</h2> |
|
67
|
137 |
<div class="more-info-wrap"> |
|
|
138 |
<table class="more-info "> |
|
|
139 |
<tbody> |
|
|
140 |
<tr class="info-title"> |
|
104
|
141 |
<th>{% trans 'Title:' %}</th> |
|
86
|
142 |
<td>{{proj.title}}</td> |
|
67
|
143 |
</tr> |
|
|
144 |
<tr class="info-duration"> |
|
104
|
145 |
<th>{% trans 'Duration:' %}</th> |
|
67
|
146 |
<td></td> |
|
|
147 |
</tr> |
|
|
148 |
<tr class="info-author"> |
|
104
|
149 |
<th>{% trans 'Author:' %}</th> |
|
86
|
150 |
<td><a href="{% url mashup_profile branding=branding username=proj.created_by %}">{{proj.created_by}}</a></td> |
|
67
|
151 |
</tr> |
|
|
152 |
<tr class="info-description"> |
|
104
|
153 |
<th>{% trans 'Description:' %}</th> |
|
67
|
154 |
<td></td> |
|
|
155 |
</tr> |
|
|
156 |
</tbody> |
|
|
157 |
</table> |
|
|
158 |
</div> |
|
104
|
159 |
<h2>{% trans 'Videos used in this Hashcut' %}</h2> |
|
67
|
160 |
<ul class="list-video"> |
|
|
161 |
|
|
|
162 |
</ul> |
|
|
163 |
</div><!-- right-content --> |
|
|
164 |
</div><!-- content --> |
|
|
165 |
{% endblock %} |
|
|
166 |
|