test/integration/polemic.htm
branchnew-model
changeset 874 38b65761a7d5
parent 872 d777d05a16e4
child 875 43629caa77bc
equal deleted inserted replaced
872:d777d05a16e4 874:38b65761a7d5
    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 			},
    38             css:'../../src/css/LdtPlayer.css',
    38             css:'../../src/css/LdtPlayer-release.css',
    39             widgets: [
    39             widgets: [
    40  /*           {type: "PolemicWidget",
    40  /*           {type: "PolemicWidget",
    41              width: 640,
    41              width: 640,
    42              height: 50,              
    42              height: 50,              
    43              requires: [{
    43              requires: [{
    73             {type: "createAnnotationWidget"},
    73             {type: "createAnnotationWidget"},
    74             {type: "TagCloudWidget",
    74             {type: "TagCloudWidget",
    75             excludeWords: ['#museoweb']},, */
    75             excludeWords: ['#museoweb']},, */
    76 //            {type: "TraceWidget"}
    76 //            {type: "TraceWidget"}
    77                 {
    77                 {
       
    78                     type: "SliderWidget"
       
    79                 },
       
    80                 {
    78                     type: "PlayerWidget"
    81                     type: "PlayerWidget"
    79                 },
    82                 },
    80                 {
    83                 {
    81                     type: "PolemicNewWidget"
    84                     type: "PolemicWidget"
    82                 },
    85                 },
    83                 {
    86                 {
    84                     type: "HelloWorldWidget"
    87                     type: "HelloWorldWidget"
    85                 },
    88                 },
    86                 {
    89                 {
    87                     type: "AnnotationsListWidget",
    90                     type: "AnnotationsListWidget",
    88                     ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?",
    91                     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}}",
    92                     foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
    90                     annotation_type : "tweet",
    93                     annotation_type : "tweet",
    91                     container: "AnnotationsListContainer"
    94                     container: "AnnotationsListContainer"
    92                 }
    95                 }
    93             ]
    96             ]