test/integration/polemic.htm
branchnew-model
changeset 876 03967b6ada7c
parent 875 43629caa77bc
child 880 4c7b33bf2795
equal deleted inserted replaced
875:43629caa77bc 876:03967b6ada7c
    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.widgetsDir = "/metadataplayer/src/widgets"
    26 IriSP.jwplayer_swf_path = "../libs/player.swf";
    26 IriSP.jwplayer_swf_path = "../libs/player.swf";
    27     var _metadata = {
    27     var _metadata = {
    28         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/f1a17368-2bc8-11e1-b21a-00145ea49a02?callback=?',
    29         format: 'ldt'
    29         format: 'ldt'
    30     };
    30     };
    31     var _config = {            
    31     var _config = {            
    32         gui: {
    32         gui: {
    33             width:640,
    33             width:640,
    34             height:800,              
    34             height:800,
    35             container:'LdtPlayer',
    35             container:'LdtPlayer',
    36 			default_options: {
    36 			default_options: {
    37 				metadata: _metadata
    37 				metadata: _metadata
    38 			},
    38 			},
    39             css:'../../src/css/LdtPlayer-release.css',
    39             css:'../../src/css/LdtPlayer-release.css',
    89                 },
    89                 },
    90                 {
    90                 {
    91                     type: "Segments"
    91                     type: "Segments"
    92                 },
    92                 },
    93                 {
    93                 {
    94                     type: "HelloWorld"
    94                     type: "Arrow"
       
    95                 },
       
    96                 {
       
    97                     type: "Annotation"
    95                 },
    98                 },
    96                 {
    99                 {
    97                     type: "AnnotationsList",
   100                     type: "AnnotationsList",
    98                     ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", 
   101                     //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", 
    99                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
   102                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
   100                     annotation_type : "tweet",
   103                     annotation_type : "tweet",
   101                     container: "AnnotationsListContainer"
   104                     container: "AnnotationsListContainer"
   102                 }
   105                 }
   103             ]
   106             ]