| 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 |
|
|
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 du widget du player avec Popcorn (Youtube). |
|
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"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
19 |
<script src="../../res/js/jquery.min.js"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
20 |
<script src="../../res/js/jquery.tools.min.js"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
21 |
<script src="../../res/js/jquery-ui.min.js"></script> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
22 |
<div id="LdtPlayer"></div> |
|
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 |
<script type="text/javascript"> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
25 |
$(document).ready(function() { |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
26 |
var config = { |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
27 |
gui:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
28 |
width:650, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
29 |
height:2100, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
30 |
container:'LdtPlayer', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
31 |
css:'../../src/css/LdtPlayer.css', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
32 |
widgets: [ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
33 |
{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
|
34 |
mode: "radio", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
35 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
36 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
37 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
38 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
39 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
40 |
{type: "SliderWidget", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
41 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
42 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
43 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
44 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
45 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
46 |
|
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
47 |
{type: "SegmentsWidget", // 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
|
48 |
mode: "radio", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
49 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
50 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
51 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
52 |
type:'json'} |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
53 |
}, |
|
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: "AnnotationsWidget", // 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
|
56 |
mode: "radio", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
57 |
metadata:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
58 |
format:'cinelab', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
59 |
src:'../test.json', |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
60 |
type:'json'} |
|
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 |
}, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
65 |
player:{ |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
66 |
type:'youtube', // player type |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
67 |
// the rest is player-dependent configuration options. |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
68 |
video: "http://www.youtube.com/watch?v=rrkrvAUbU9Y", |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
69 |
height: 400, |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
70 |
width: 640, |
|
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 |
<div id='Ldt-Root'> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
85 |
<div id='Ldt-PlaceHolder'> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
86 |
</div> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
87 |
</div> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
88 |
<!-- END ################ ###################################### --> |
|
fbcb991cc595
updated the integration tests and changed their line endings to unix.
hamidouk
parents:
227
diff
changeset
|
89 |
</body> |
| 215 | 90 |
</html> |