| author | veltr |
| Mon, 07 Jan 2013 15:54:35 +0100 | |
| changeset 70 | afa0cdb56132 |
| parent 46 | 542252e0c615 |
| child 78 | 8c3f0b94d056 |
| permissions | -rw-r--r-- |
| 36 | 1 |
<!DOCTYPE html> |
2 |
<html lang="fr"> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8"> |
|
5 |
<title>The End niv1- @todo</title> |
|
6 |
||
7 |
<meta name="description" content="@todo"> |
|
8 |
||
9 |
<!-- Mobile Specific Metas --> |
|
10 |
<meta name="viewport" content="initial-scale=1.0, width=device-width" /> |
|
11 |
||
12 |
<link rel="stylesheet" href="static/res/css/style_1024.css" /> |
|
13 |
||
14 |
</head> |
|
15 |
<body> |
|
16 |
<!-- div content - site takes the full height of browser --> |
|
|
41
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
17 |
<div id="content" class="full_screen"> |
| 36 | 18 |
|
19 |
<!-- div content_top - the elements takes the full height of "content_top" --> |
|
20 |
<div id="content_top"> |
|
|
41
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
21 |
<div class="strut"></div><!-- |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
22 |
this comment corrects the white-space (display: inline); |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
23 |
--><section class="fullScreen_vcentering"> |
| 36 | 24 |
<!-- Video --> |
|
41
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
25 |
<!-- |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
26 |
controls attribute - you're going to turn the default controls off via JavaScript |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
27 |
poster - sets a default image to display instead of the video's first frame. |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
28 |
|
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
29 |
<video controls poster="/"> |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
30 |
<p>Votre navigateur ne gère pas l'élément video @todo</p> |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
31 |
</video> |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
32 |
--> |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
33 |
<div id="video"> |
|
f2123b4487e9
début écrans de choix
Edwin Razafimahatratra <edwin@robotalismsoft.com>
parents:
36
diff
changeset
|
34 |
</div> |
| 36 | 35 |
<!-- /Video --> |
36 |
</section> |
|
37 |
||
38 |
</div> |
|
39 |
||
40 |
<!-- Controls container --> |
|
41 |
<footer id="controlContainer"> |
|
42 |
<!-- @todo JS the player disappears down the screen after 5 sec --> |
|
43 |
<section id="controlbar"> |
|
44 |
<div class="container_hcentering"> |
|
45 |
<button id="btnInfo" class="btn">INFO</button> |
|
46 |
||
47 |
<button id="btnSDHD" class="btn" onClick="/">SD/HD</button> |
|
48 |
||
49 |
||
50 |
<div id="progressContainer"> |
|
51 |
||
52 |
<div id="progressBar" class="progress_bar"> |
|
53 |
<span id="progress" class="progress_bar"></span> |
|
| 46 | 54 |
<button id="stateBar" class="txt_hidden" onClick="/"></button> |
| 36 | 55 |
</div> |
56 |
||
57 |
<ul id="progressTime"> |
|
58 |
<!-- class="txt_white" can be used to color current time in white --> |
|
59 |
<li id="current" class="floatL"></li> |
|
| 46 | 60 |
<li id="duration" class="floatR">0'00''</li> |
| 36 | 61 |
</ul> |
62 |
||
63 |
</div> |
|
| 46 | 64 |
<button id="btnBck" class="btn txt_hidden" onClick="incPlayer.ctrlPrev();">Back</button> |
65 |
<!--I use a single button, which will serve as a play button when the video is paused (or stopped) and a pause button when it's playing. |
|
66 |
--> |
|
67 |
<button id="btnPlayPause" class="btn txt_hidden" title="play" onClick="incPlayer.ctrlPlay(this);">Play/Pause</button> |
|
68 |
||
69 |
<button id="btnFwd" class="btn txt_hidden" onClick="incPlayer.ctrlNext();">Forward</button> |
|
| 36 | 70 |
|
71 |
<button id="btnChoice" class="btn">Choice</button> |
|
72 |
</div> |
|
73 |
</section> |
|
74 |
<!-- /Controlbar container --> |
|
75 |
</footer> |
|
76 |
</div> |
|
77 |
<!-- Metanav FranceTV --> |
|
78 |
<script src="http://static.francetv.fr/js/jquery.metanav-min.js" charset="utf-8"></script> |
|
79 |
<!-- JavaScript --> |
|
80 |
<script src="static/res/js/jquery-1.8.2.min.js"></script> |
|
| 46 | 81 |
<script src="static/res/js/jquery.cookie.js"></script> |
| 36 | 82 |
<script src="static/res/js/popcorn-complete.js"></script> |
83 |
<script src="static/res/js/popcorn.sequence.js"></script> |
|
84 |
<script src="static/res/js/incplayer.js"></script> |
|
| 46 | 85 |
<script src="static/res/js/incchoice.js"></script> |
| 36 | 86 |
<script> |
87 |
$(function() { |
|
| 46 | 88 |
// Init the video player |
89 |
if (incPlayer.init("video", "btnPlayPause", "current", "duration", "static/res/json/sequences.json", true)) { |
|
90 |
incPlayer.createPopSequence(incChoice.getChoosenWords()); |
|
| 36 | 91 |
|
| 46 | 92 |
// Add class on all videos |
93 |
$("#video").children().addClass("small_video"); |
|
| 36 | 94 |
} |
95 |
}); |
|
96 |
</script> |
|
97 |
</body> |
|
98 |
</html> |