equal
deleted
inserted
replaced
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 |
|
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 du widget du player avec Popcorn (jwplayer). |
|
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:1, |
|
28 mode:'video', |
|
29 container:'LdtPlayer', |
|
30 debug:true, |
|
31 css:'../../src/css/LdtPlayer.css', |
|
32 widgets : [{ |
|
33 type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
|
34 mode: "radio", |
|
35 metadata:{ |
|
36 format:'cinelab', |
|
37 src:'../test.json', |
|
38 type:'json'} |
|
39 }, |
|
40 {type: "SliderWidget", |
|
41 metadata:{ |
|
42 format:'cinelab', |
|
43 src:'../test.json', |
|
44 type:'json'} |
|
45 } |
|
46 ]}, |
|
47 player:{ |
|
48 type:'jwplayer', |
|
49 flashplayer:'../../res/swf/player.swf', |
|
50 file:'../trailer.mp4', |
|
51 provider:'video', |
|
52 duration: 50} |
|
53 }; |
|
54 |
|
55 IriSP.initPlayer(config, "../test.json"); |
|
56 </script> |
|
57 |
|
58 |
|
59 </body> |
|
60 </html> |
|