equal
deleted
inserted
replaced
26 //http://localhost/pf/ldtplatform/ldt/cljson/id/ |
26 //http://localhost/pf/ldtplatform/ldt/cljson/id/ |
27 //var project_id = "1771a6cf-3dfd-11e1-a3d8-001d7d7c6d1d"; |
27 //var project_id = "1771a6cf-3dfd-11e1-a3d8-001d7d7c6d1d"; |
28 var project_id = "1771a6cf-3dfd-11e1-a3d8-001d7d7c6d1d"; |
28 var project_id = "1771a6cf-3dfd-11e1-a3d8-001d7d7c6d1d"; |
29 var json_src = platf_url + "cljson/id/" + project_id; |
29 var json_src = platf_url + "cljson/id/" + project_id; |
30 |
30 |
|
31 IriSP.widgetsDefaults["createAnnotationWidget"] = {}; |
31 IriSP.widgetsDefaults["createAnnotationWidget"].cinecast_version = false; |
32 IriSP.widgetsDefaults["createAnnotationWidget"].cinecast_version = false; |
|
33 |
32 var config = { |
34 var config = { |
33 gui:{ |
35 gui:{ |
34 width:650, |
36 width:650, |
35 container:'LdtPlayer', |
37 container:'LdtPlayer', |
36 css:'../../src/css/LdtPlayer.css', |
38 css:'../../src/css/LdtPlayer.css', |
159 type:'json'} |
161 type:'json'} |
160 }] |
162 }] |
161 |
163 |
162 }; |
164 }; |
163 |
165 |
164 IriSP.loadLibs(IriSP.lib, config, json_src, |
166 IriSP.initPlayer(config, json_src); |
165 function() { |
|
166 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
|
167 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
|
168 |
|
169 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); |
|
170 var modules = IriSP.configureModules(pop, config.modules); |
|
171 }); |
|
172 </script> |
167 </script> |
173 |
168 |
174 |
169 |
175 </body> |
170 </body> |
176 <div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
171 <div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |