test/integration/polemic.htm
branchnew-model
changeset 872 d777d05a16e4
parent 870 2c025db10a10
child 874 38b65761a7d5
equal deleted inserted replaced
870:2c025db10a10 872:d777d05a16e4
    27         url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?',
    27         url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?',
    28         format: 'ldt'
    28         format: 'ldt'
    29     };
    29     };
    30     var _config = {            
    30     var _config = {            
    31         gui: {
    31         gui: {
    32         width:640,
    32             width:640,
    33             height:800,              
    33             height:800,              
    34             container:'LdtPlayer',
    34             container:'LdtPlayer',
    35 			default_options: {
    35 			default_options: {
    36 				metadata: _metadata
    36 				metadata: _metadata
    37 			},
    37 			},
    76 //            {type: "TraceWidget"}
    76 //            {type: "TraceWidget"}
    77                 {
    77                 {
    78                     type: "PlayerWidget"
    78                     type: "PlayerWidget"
    79                 },
    79                 },
    80                 {
    80                 {
       
    81                     type: "PolemicNewWidget"
       
    82                 },
       
    83                 {
    81                     type: "HelloWorldWidget"
    84                     type: "HelloWorldWidget"
    82                 },
    85                 },
    83                 {
    86                 {
    84                     type: "AnnotationsListWidget",
    87                     type: "AnnotationsListWidget",
    85                 /*    ajax_url : "http://ldt.iri.centrepompidou.fr/ldt/api/ldt/segments/{{media}}/{{begin}}/{{end}}", */
    88                     ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?",
       
    89                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
       
    90                     annotation_type : "tweet",
    86                     container: "AnnotationsListContainer"
    91                     container: "AnnotationsListContainer"
    87                 }
    92                 }
    88             ]
    93             ]
    89         },
    94         },
    90       player:{
    95       player:{