| author | hamidouk |
| Thu, 15 Dec 2011 10:45:41 +0100 | |
| branch | popcorn-port |
| changeset 467 | 79173b75e97c |
| parent 457 | fbcb991cc595 |
| child 504 | 02daece5dfda |
| permissions | -rw-r--r-- |
|
457
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
2 |
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
3 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
4 |
<head> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
5 |
<title>Test d'intégration de l'initialisation</title> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
6 |
</head> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
7 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
8 |
<body> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
9 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
10 |
<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
11 |
<h1>MetaDataPlayer </h1> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
12 |
Test d'intégration de l'initialisation. |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
13 |
</div> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
14 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
15 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
16 |
<!-- START Integration ###################################### --> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
17 |
<!-- SIMPLE PLAYER EXPERIMENTATION --> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
18 |
<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
19 |
<script type="text/javascript" src="../../unittests/mockSerializer.js" type="text/javascript"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
20 |
<script src="../../res/js/jquery.min.js" type="text/javascript"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
21 |
<script src="../../res/js/jquery.tools.min.js" type="text/javascript"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
22 |
<script src="../../res/js/jquery-ui.min.js" type="text/javascript"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
23 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
24 |
<div id="video"></div> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
25 |
<div id="LdtPlayer"></div> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
26 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
27 |
<script type="text/javascript"> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
28 |
$(document).ready(function() { |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
29 |
var config = { |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
30 |
gui:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
31 |
width:650, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
32 |
height:2100, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
33 |
container:'LdtPlayer', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
34 |
css:'../../src/css/LdtPlayer.css', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
35 |
widgets: [ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
36 |
{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
37 |
mode: "radio", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
38 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
39 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
40 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
41 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
42 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
43 |
{type: "SliderWidget", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
44 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
45 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
46 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
47 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
48 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
49 |
{type: "AnnotationsWidget", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
50 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
51 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
52 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
53 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
54 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
55 |
{type: "SegmentsWidget", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
56 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
57 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
58 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
59 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
60 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
61 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
62 |
] |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
63 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
64 |
player:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
65 |
type:'jwplayer', // player type |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
66 |
flashplayer : '../libs/player.swf', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
67 |
live: true, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
68 |
"controlbar.position" : "none", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
69 |
height: 1, /* jwplayer doesn't want it to be 0 */ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
70 |
width: 200, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
71 |
provider: "rtmp" |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
72 |
} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
73 |
}; |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
74 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
75 |
IriSP.loadLibs(IriSP.lib, config.gui.css, "../test.json", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
76 |
function() { |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
77 |
var layoutManager = new IriSP.LayoutManager(config.gui.container); |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
78 |
var pop = IriSP.configurePopcorn(layoutManager, config.player); |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
79 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
80 |
var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
81 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
82 |
}); |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
83 |
</script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
84 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
85 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
86 |
</body> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
87 |
</html> |