test/integration/polemic.htm
branchnew-model
changeset 875 43629caa77bc
parent 874 38b65761a7d5
child 876 03967b6ada7c
equal deleted inserted replaced
874:38b65761a7d5 875:43629caa77bc
    13   </div>
    13   </div>
    14   
    14   
    15   
    15   
    16  <!-- START Integration  ###################################### -->
    16  <!-- START Integration  ###################################### -->
    17  <!-- SIMPLE PLAYER EXPERIMENTATION -->
    17  <!-- SIMPLE PLAYER EXPERIMENTATION -->
    18   <script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script>   
    18   <script type="text/javascript" src="../../build/LdtPlayer-core.js" type="text/javascript"></script>   
    19   
    19   
    20   <div id="video"></div>
    20   <div id="video"></div>
    21   <div id="LdtPlayer"></div>
    21   <div id="LdtPlayer"></div>
    22   
    22   
    23   <script  type="text/javascript">
    23   <script  type="text/javascript">
    24   IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/";
    24   IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/";
       
    25   IriSP.widgetsDir = "/metadataplayer/src/widgets"
    25 IriSP.jwplayer_swf_path = "../libs/player.swf";
    26 IriSP.jwplayer_swf_path = "../libs/player.swf";
    26     var _metadata = {
    27     var _metadata = {
    27         url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?',
    28         url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?',
    28         format: 'ldt'
    29         format: 'ldt'
    29     };
    30     };
    73             {type: "createAnnotationWidget"},
    74             {type: "createAnnotationWidget"},
    74             {type: "TagCloudWidget",
    75             {type: "TagCloudWidget",
    75             excludeWords: ['#museoweb']},, */
    76             excludeWords: ['#museoweb']},, */
    76 //            {type: "TraceWidget"}
    77 //            {type: "TraceWidget"}
    77                 {
    78                 {
    78                     type: "SliderWidget"
    79                     type: "Sparkline"
    79                 },
    80                 },
    80                 {
    81                 {
    81                     type: "PlayerWidget"
    82                     type: "Slider"
    82                 },
    83                 },
    83                 {
    84                 {
    84                     type: "PolemicWidget"
    85                     type: "Controller"
    85                 },
    86                 },
    86                 {
    87                 {
    87                     type: "HelloWorldWidget"
    88                     type: "Polemic"
    88                 },
    89                 },
    89                 {
    90                 {
    90                     type: "AnnotationsListWidget",
    91                     type: "Segments"
       
    92                 },
       
    93                 {
       
    94                     type: "HelloWorld"
       
    95                 },
       
    96                 {
       
    97                     type: "AnnotationsList",
    91                     ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", 
    98                     ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", 
    92                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
    99                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
    93                     annotation_type : "tweet",
   100                     annotation_type : "tweet",
    94                     container: "AnnotationsListContainer"
   101                     container: "AnnotationsListContainer"
    95                 }
   102                 }