1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
2 <html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
|
3 |
|
4 <head> |
|
5 <title>Test d'intégration de l'initialisation</title> |
|
6 </head> |
|
7 |
|
8 <body> |
|
9 |
|
10 <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
|
11 <h1>MetaDataPlayer </h1> |
|
12 Test d'intégration de l'initialisation. |
|
13 </div> |
|
14 |
|
15 |
|
16 <!-- START Integration ###################################### --> |
|
17 <!-- SIMPLE PLAYER EXPERIMENTATION --> |
|
18 <script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> |
|
19 |
|
20 <div id="video"></div> |
|
21 <div id="LdtPlayer"></div> |
|
22 |
|
23 <script type="text/javascript"> |
|
24 var config = { |
|
25 gui:{ |
|
26 width:650, |
|
27 height:2100, |
|
28 container:'LdtPlayer', |
|
29 css:'../../src/css/LdtPlayer.css', |
|
30 widgets: [ |
|
31 {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
|
32 mode: "radio", |
|
33 metadata:{ |
|
34 format:'cinelab', |
|
35 src:'../test.json', |
|
36 type:'json'} |
|
37 }, |
|
38 {type: "SliderWidget", |
|
39 metadata:{ |
|
40 format:'cinelab', |
|
41 src:'../test.json', |
|
42 type:'json'} |
|
43 }, |
|
44 {type: "AnnotationsWidget", |
|
45 metadata:{ |
|
46 format:'cinelab', |
|
47 src:'../test.json', |
|
48 type:'json'} |
|
49 }, |
|
50 {type: "SegmentsWidget", |
|
51 metadata:{ |
|
52 format:'cinelab', |
|
53 src:'../test.json', |
|
54 type:'json'} |
|
55 }, |
|
56 |
|
57 ] |
|
58 }, |
|
59 player:{ |
|
60 type:'jwplayer', // player type |
|
61 flashplayer : '../libs/player.swf', |
|
62 live: true, |
|
63 "controlbar.position" : "none", |
|
64 height: 1, /* jwplayer doesn't want it to be 0 */ |
|
65 width: 200, |
|
66 provider: "rtmp" |
|
67 } |
|
68 }; |
|
69 |
|
70 IriSP.initPlayer(config, "../test.json"); |
|
71 </script> |
|
72 |
|
73 |
|
74 </body> |
|
75 </html> |
|