test/integration/polemic-festival.htm
branchpopcorn-port
changeset 810 85a278e12495
parent 805 48cd2b83c7c5
equal deleted inserted replaced
809:1997dae651c6 810:85a278e12495
    28         gui:{
    28         gui:{
    29             width:650,
    29             width:650,
    30             height:2100,              
    30             height:2100,              
    31             container:'LdtPlayer',
    31             container:'LdtPlayer',
    32             css:'../../src/css/LdtPlayer.css',
    32             css:'../../src/css/LdtPlayer.css',
       
    33 			default_options : {
       
    34 			 metadata:{
       
    35                           format:'cinelab',
       
    36                           src:json_url,
       
    37                           type:'json'}
       
    38             },
       
    39 			
    33             widgets: [
    40             widgets: [
    34             {type: "StackGraphWidget",
    41             {type: "StackGraphWidget",
    35                 tags : [
    42                 tags : [
    36                     {
    43                     {
    37                         "keywords" : [ "élève", "souleyman", "souleiman", "koumba", "kumba", "karl", "esmeralda" ],
    44                         "keywords" : [ "élève", "souleyman", "souleiman", "koumba", "kumba", "karl", "esmeralda" ],
    61                 metadata : {type:'empty'
    68                 metadata : {type:'empty'
    62                 }
    69                 }
    63                }],
    70                }],
    64             },            
    71             },            
    65             {type: "AnnotationsListWidget",
    72             {type: "AnnotationsListWidget",
    66              container: "AnnotationsListContainer",             
    73              container: "AnnotationsListContainer"},                                   
    67                          metadata:{
       
    68                           format:'cinelab',
       
    69                           src:json_url,
       
    70                           type:'json'}
       
    71                         },
       
    72             {type: "SparklineWidget",
    74             {type: "SparklineWidget",
    73              width: 640, /* required for this widget */
    75              width: 640, /* required for this widget */
    74              height: 50,            
    76              height: 50,
    75                          metadata:{
    77 			},
    76                           format:'cinelab',
    78             {type: "SliderWidget"},        
    77                           src:json_url,
    79             {type: "PlayerWidget"},
    78                           type:'json'}
    80             {type: "SegmentsWidget",             
    79                         },
       
    80             {type: "SliderWidget",
       
    81                          metadata:{
       
    82                           format:'cinelab',
       
    83                           src:json_url,
       
    84                           type:'json'}
       
    85                         },        
       
    86             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
       
    87              mode: "radio",
       
    88              metadata:{
       
    89               format:'cinelab',
       
    90               src:json_url,
       
    91               type:'json'}
       
    92             },
       
    93             {type: "SegmentsWidget",
       
    94              metadata:{
       
    95               format:'cinelab',
       
    96               src:json_url,
       
    97               type:'json'},
       
    98              requires: [{
    81              requires: [{
    99               type: "TooltipWidget",
    82               type: "TooltipWidget",
   100               width: 180,
    83               width: 180,
   101               heigh: 160,
    84               heigh: 160,
   102               metadata : {
    85               metadata : {
   103                 type:'empty'
    86                 type:'empty'
   104               }
    87               }
   105              }],
    88              }],
   106             },                     
    89             },                     
   107             {type: "ArrowWidget",
    90             {type: "ArrowWidget",           
   108              metadata:{
       
   109               format:'cinelab',
       
   110               src:json_url,
       
   111               type:'json'}
       
   112             },
    91             },
   113             {type: "TweetsWidget",
    92             {type: "TweetsWidget",                       
   114                          metadata:{
    93             },
   115                           format:'cinelab',
    94             {type: "createAnnotationWidget"}   
   116                           src:json_url,
       
   117                           type:'json'}
       
   118                         },
       
   119             {type: "createAnnotationWidget",
       
   120                          metadata:{
       
   121                           format:'cinelab',
       
   122                           src:json_url,
       
   123                           type:'json'}
       
   124                         }      
       
   125             ]
    95             ]
   126         },
    96         },
   127       player:{
    97       player:{
   128       type:'jwplayer', // player type
    98       type:'jwplayer', // player type
   129               live: true, 
    99               live: true,