|
50
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html lang="fr"> |
|
|
3 |
<head> |
|
|
4 |
<meta charset="utf-8"> |
|
64
|
5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
50
|
6 |
<title>The End - Visionnage par tag "{{tag}}"</title> |
|
|
7 |
|
|
|
8 |
<!-- Mobile Specific Metas --> |
|
|
9 |
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" /> |
|
|
10 |
|
|
|
11 |
<link rel="stylesheet" href="lib/jquery-ui.css" /> |
|
|
12 |
<link rel="stylesheet" href="css/theend.css" /> |
|
|
13 |
<script type="text/javascript" src="lib/jquery.min.js"></script> |
|
|
14 |
<script type="text/javascript" src="lib/jquery-ui.min.js"></script> |
|
|
15 |
<script type="text/javascript" src="lib/jquery.ui.touch-punch.min.js"></script> |
|
|
16 |
<script type="text/javascript" src="lib/underscore-min.js"></script> |
|
|
17 |
<script type="text/javascript" src="js/init.js"></script> |
|
|
18 |
<script type="text/javascript" src="js/model.js"></script> |
|
|
19 |
<script type="text/javascript" src="js/ldt-serializer.js"></script> |
|
|
20 |
<script type="text/javascript" src="js/ldt-annotate.js"></script> |
|
|
21 |
<script type="text/javascript" src="js/tagplayer.js"></script> |
|
|
22 |
<script type="text/javascript"> |
|
|
23 |
var matches = document.location.href.match(/tag=([^?&=#]+)/); |
|
|
24 |
tag = matches ? decodeURIComponent(matches[1]) : "ENGAGEMENT"; |
|
|
25 |
IriSP.endpoints = { |
|
|
26 |
mashup_by_tag : "http://theend-integ.ftinfo.fr/theend/ldt/mashupbytag/", |
|
|
27 |
annotations_by_timecode : "http://theend-integ.ftinfo.fr/theend/api/ldt/1.0/segments/bytimecode/__CONTENT_ID__/__BEGIN__/__END__", |
|
|
28 |
post_annotation : "testdata/post-test.php", |
|
64
|
29 |
tag_page : "tag.html?tag=__TAG__" |
|
50
|
30 |
}; |
|
57
|
31 |
if (typeof window.localStorage !== "undefined" && window.localStorage.getItem !== "undefined") { |
|
|
32 |
var res = window.localStorage.getItem("resolution") || "SD"; |
|
|
33 |
} else { |
|
|
34 |
var res = "SD"; |
|
|
35 |
} |
|
|
36 |
IriSP.video_url_transform = function(url) { |
|
58
|
37 |
return url.replace(/[SH]D(\.[a-z0-9]+)$/,res + "$1"); |
|
57
|
38 |
} |
|
50
|
39 |
$(function() { |
|
|
40 |
$("h1").text(tag); |
|
57
|
41 |
|
|
50
|
42 |
|
|
|
43 |
IriSP.tagplayer({ |
|
|
44 |
tag : tag |
|
|
45 |
}); |
|
57
|
46 |
|
|
|
47 |
$(".sdhdgroup").addClass(res); |
|
|
48 |
|
|
|
49 |
$(".sdhdbtn").click(function() { |
|
|
50 |
var newres = $(this).attr("title"); |
|
|
51 |
if (res !== newres) { |
|
|
52 |
window.localStorage.setItem("resolution", newres); |
|
|
53 |
document.location.reload(); |
|
|
54 |
} |
|
|
55 |
return false; |
|
|
56 |
}); |
|
50
|
57 |
}); |
|
|
58 |
</script> |
|
|
59 |
|
|
|
60 |
</head> |
|
64
|
61 |
<body class="player"> |
|
50
|
62 |
|
|
|
63 |
<header> |
|
|
64 |
<div id="title_vp"> |
|
|
65 |
<a href="home.html" class= "link_prev link_img"> <img alt="Retour" src="img/retour.png" /> </a> |
|
|
66 |
<h1>{{TAG}}</h1> |
|
|
67 |
</div> |
|
|
68 |
</header> |
|
|
69 |
|
|
|
70 |
<section> |
|
|
71 |
|
|
|
72 |
<div id="title_sequence" class="float_sequence"> |
|
|
73 |
<ul></ul> |
|
|
74 |
</div> |
|
|
75 |
|
|
|
76 |
<!-- Video --> |
|
|
77 |
<div class="video_wrap"> |
|
|
78 |
<div id="video_sequence"> |
|
|
79 |
<div class="video-wait"></div> |
|
|
80 |
</div> |
|
|
81 |
</div> |
|
|
82 |
<!-- /Video --> |
|
|
83 |
|
|
|
84 |
<div id="tag_container"> |
|
|
85 |
|
|
|
86 |
<form id="form_tag"> |
|
|
87 |
<input type="text" name="tag" placeholder="Entrez vos tags ici" /> |
|
|
88 |
<input type="submit" value="OK" /> |
|
|
89 |
</form> |
|
|
90 |
|
|
|
91 |
<div id="tag_sequence" class="float_sequence"> |
|
|
92 |
<ul></ul> |
|
|
93 |
</div> |
|
|
94 |
|
|
|
95 |
</div> |
|
|
96 |
</section> |
|
|
97 |
|
|
|
98 |
<!-- Controls container --> |
|
|
99 |
<footer id="controlContainer"> |
|
|
100 |
<section id="controlbar"> |
|
64
|
101 |
<a id="btnInfo" class="btn" href="#" title="info"></a> |
|
50
|
102 |
|
|
64
|
103 |
<div class="sdhdgroup"> |
|
|
104 |
<a id="btnSD" class="sdhdbtn" href="#" title="SD"></a> |
|
|
105 |
<div class="sdhdbtn sdhdsep"></div> |
|
|
106 |
<a id="btnHD" class="sdhdbtn" href="#" title="HD"></a> |
|
|
107 |
</div> |
|
50
|
108 |
|
|
64
|
109 |
<div id="progressContainer"> |
|
50
|
110 |
|
|
64
|
111 |
<div id="progressBar"></div> |
|
50
|
112 |
|
|
64
|
113 |
<ul id="progressTime"> |
|
|
114 |
<li id="current" class="floatL"> |
|
|
115 |
00:00 |
|
|
116 |
</li> |
|
|
117 |
<li id="duration" class="floatR"> |
|
|
118 |
00:00 |
|
|
119 |
</li> |
|
|
120 |
</ul> |
|
50
|
121 |
|
|
64
|
122 |
</div> |
|
50
|
123 |
|
|
64
|
124 |
<a id="btnBck" class="btn txt_hidden" href="#" title="Back"></a> |
|
50
|
125 |
|
|
64
|
126 |
<a id="btnPlayPause" class="btn txt_hidden" href="#" title="play/pause"></a> |
|
50
|
127 |
|
|
64
|
128 |
<a id="btnFwd" class="btn txt_hidden" href="#" title="Forward"></a> |
|
|
129 |
|
|
|
130 |
<a id="btnChoice" class="btn" href="#" title="Choice"></a> |
|
50
|
131 |
</section> |
|
|
132 |
<!-- /Controlbar container --> |
|
|
133 |
</footer> |
|
|
134 |
<!-- Metanav FranceTV --> |
|
|
135 |
<script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script> |
|
|
136 |
<!-- JavaScript --> |
|
|
137 |
</body> |
|
|
138 |
</html> |