test/integration/allocine_dossier_independant/polemic-allocine.htm
branchpopcorn-port
changeset 831 0dd21c298380
parent 830 18ca612e9ff0
child 832 6397a2ca3a67
equal deleted inserted replaced
830:18ca612e9ff0 831:0dd21c298380
    27     IriSP.libdir = "js/libs/";
    27     IriSP.libdir = "js/libs/";
    28     IriSP.defaults.user = function(){ return IriSP.user; };
    28     IriSP.defaults.user = function(){ return IriSP.user; };
    29     
    29     
    30     var config = {            
    30     var config = {            
    31         gui:{
    31         gui:{
    32             width:650,
    32             width:610,
    33             height:2100,              
    33             height:2100,              
    34             container:'LdtPlayer',
    34             container:'LdtPlayer',
    35             css:'css/LdtPlayer.css',
    35             css:'css/LdtPlayer.css?42',
    36             default_options : {
    36             default_options : {
    37                 metadata:{
    37                 metadata:{
    38                 format:'cinelab',
    38                 format:'cinelab',
    39                 src: json_url,
    39                 src: json_url,
    40                 type:'json'},
    40                 type:'json'},
    41                 width: 640
    41                 width: 610
    42             },
    42             },
    43             widgets: [
    43             widgets: [
    44             {type: "StackGraphWidget",
    44             {type: "StackGraphWidget",
    45                requires: [{
    45                requires: [{
    46                 type: "TooltipWidget",
    46                 type: "TooltipWidget",
    51                }],
    51                }],
    52             },            
    52             },            
    53             {type: "AnnotationsListWidget",
    53             {type: "AnnotationsListWidget",
    54              container: "AnnotationsListContainer"},
    54              container: "AnnotationsListContainer"},
    55             {type: "SliderWidget"},
    55             {type: "SliderWidget"},
    56             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
    56             {type: "PlayerWidget",
    57              mode: "radio"},                     
    57              disable_annotate_btn: true},
    58             {type: "ArrowWidget"},
       
    59             {type: "TweetsWidget"},
       
    60             {type: "createAnnotationWidget",
    58             {type: "createAnnotationWidget",
    61             polemic_mode: false,
    59             polemic_mode: false,
    62             cinecast_version: true,
    60             cinecast_version: true,
    63             keywords: ['#vodkaster', '#allocine', '#universcine'],
    61             keywords: ['#vodkaster', '#allocine', '#universcine'],
    64             api_endpoint_template : "coucou/{{id}}.json",
    62             api_endpoint_template : "coucou/{{id}}.json",