8 <h1>MetaDataPlayer</h1> |
8 <h1>MetaDataPlayer</h1> |
9 Integration test - ALLOCINE PLAYER |
9 Integration test - ALLOCINE PLAYER |
10 </div> |
10 </div> |
11 <!-- START Integration ###################################### --> |
11 <!-- START Integration ###################################### --> |
12 <!-- SIMPLE PLAYER EXPERIMENTATION --> |
12 <!-- SIMPLE PLAYER EXPERIMENTATION --> |
13 <script type="text/javascript" src="/metadataplayer/build/LdtPlayer-release.js" type="text/javascript"></script> |
13 <script type="text/javascript" src="js/LdtPlayer-release.js" type="text/javascript"></script> |
14 <div id="video"></div> |
14 <div id="video"></div> |
15 <div id="LdtPlayer"></div> |
15 <div id="LdtPlayer"></div> |
16 <div id="Sparkline"></div> |
16 <div id="Sparkline"></div> |
17 <script type="text/javascript"> |
17 <script type="text/javascript"> |
18 var json_url = 'allocine_test/bamako.json'; |
18 var json_url = 'allocine_test/bamako.json'; |
19 |
19 |
20 IriSP.user = { |
20 IriSP.user = { |
21 name : 'awesome_user_name', |
21 name : 'awesome_user_name', |
22 avatar : 'allocine_test/avatar.png' |
22 avatar : 'allocine_test/avatar.png' |
23 }; |
23 }; |
24 IriSP.libdir = "/metadataplayer/src/js/libs/"; |
24 IriSP.libdir = "js/libs/"; |
25 IriSP.defaults.user = function() { |
25 IriSP.defaults.user = function() { |
26 return IriSP.user; |
26 return IriSP.user; |
27 }; |
27 }; |
28 var config = { |
28 var config = { |
29 gui : { |
29 gui : { |
66 type : "createAnnotationWidget", |
66 type : "createAnnotationWidget", |
67 polemic_mode : false, |
67 polemic_mode : false, |
68 keywords : ['#vodkaster', '#allocine', '#universcine'], |
68 keywords : ['#vodkaster', '#allocine', '#universcine'], |
69 api_endpoint_template : "coucou/{{id}}.json", |
69 api_endpoint_template : "coucou/{{id}}.json", |
70 api_method : 'POST' |
70 api_method : 'POST' |
71 }, { |
71 } /*, { |
72 type: "TraceWidget", |
72 type: "TraceWidget", |
73 url: "http://192.168.56.101:5000/", |
73 url: "http://192.168.56.101:5000/", |
74 requestmode: 'GET', |
74 requestmode: 'GET', |
75 syncmode: "sync" |
75 syncmode: "sync" |
76 }] |
76 } */] |
77 }, |
77 }, |
78 player : { |
78 player : { |
79 type : 'allocine', // player type |
79 type : 'allocine', // player type |
80 height : 300, |
80 height : 300, |
81 width : 610, |
81 width : 610, |