test/integration/polemic-platform.htm
branchpopcorn-port
changeset 624 177dfeacc7a6
parent 618 79c9a05ddaed
child 635 c33b08e0e7c4
equal deleted inserted replaced
623:d8f107938feb 624:177dfeacc7a6
    30             width:650,
    30             width:650,
    31             height:2100,              
    31             height:2100,              
    32             container:'LdtPlayer',
    32             container:'LdtPlayer',
    33             css:'../../src/css/LdtPlayer.css',
    33             css:'../../src/css/LdtPlayer.css',
    34             widgets: [
    34             widgets: [
    35             {type: "SliderWidget",
    35              {type: "PolemicWidget",
    36 						 metadata:{
    36                width: 640, /* required for this widget */
    37 						  format:'cinelab',
    37                height: 50,
    38 						  src:platf_url + 'cljson/id/' + project_id,
    38                metadata:{
    39 						  type:'json'}
    39                 format:'cinelab',
    40 						},            
    40                 src:platf_url + 'cljson/id/' + project_id,
    41             
    41                 type:'json'},
       
    42                 
       
    43                requires: [{
       
    44                 type: "TooltipWidget",
       
    45                 width: 180,
       
    46                 heigh: 160,
       
    47                 metadata : {
       
    48                   format:'cinelab',
       
    49                   src:platf_url + 'cljson/id/' + project_id,
       
    50                   type:'empty'
       
    51                 }
       
    52                }],
       
    53             },                      
    42             {type: "AnnotationsListWidget",
    54             {type: "AnnotationsListWidget",
    43              container: "AnnotationsListContainer",             
    55              container: "AnnotationsListContainer",             
    44 						 metadata:{
    56 						 metadata:{
    45 						  format:'cinelab',
    57 						  format:'cinelab',
    46 						  src:platf_url + 'cljson/id/' + project_id,
    58 						  src:platf_url + 'cljson/id/' + project_id,
    52 						 metadata:{
    64 						 metadata:{
    53 						  format:'cinelab',
    65 						  format:'cinelab',
    54 						  src:platf_url + 'cljson/id/' + project_id,
    66 						  src:platf_url + 'cljson/id/' + project_id,
    55 						  type:'json'}
    67 						  type:'json'}
    56 						},
    68 						},
       
    69             {type: "SliderWidget",
       
    70 						 metadata:{
       
    71 						  format:'cinelab',
       
    72 						  src:platf_url + 'cljson/id/' + project_id,
       
    73 						  type:'json'}
       
    74 						},  
    57             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
    75             {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
    58              mode: "radio",
    76              mode: "radio",
    59              metadata:{
    77              metadata:{
    60               format:'cinelab',
    78               format:'cinelab',
    61               src:platf_url + 'cljson/id/' + project_id,
    79               src:platf_url + 'cljson/id/' + project_id,