test/jwplayer.htm
branchnew-model
changeset 924 64c2eaafe5e2
parent 916 ec6849bbbdcc
child 925 28efc97b5d78
equal deleted inserted replaced
923:b3ee7d1b472a 924:64c2eaafe5e2
    23         url: 'json/ldt-jwplayer.json',
    23         url: 'json/ldt-jwplayer.json',
    24         format: 'ldt'
    24         format: 'ldt'
    25     };
    25     };
    26     var _config = {            
    26     var _config = {            
    27         gui: {
    27         gui: {
    28             width : 620,
    28             width : 550,
    29             container : 'LdtPlayer',
    29             container : 'LdtPlayer',
    30             default_options: {
    30             default_options: {
    31                 metadata: _metadata
    31                 metadata: _metadata
    32             },
    32             },
    33             css : 'metadataplayer/LdtPlayer-core.css',
    33             css : 'metadataplayer/LdtPlayer-core.css',
    35                 { type: "Slider" },
    35                 { type: "Slider" },
    36                 { type: "Controller" },
    36                 { type: "Controller" },
    37                 { type: "Polemic" },
    37                 { type: "Polemic" },
    38                 { type: "Segments" },
    38                 { type: "Segments" },
    39                 { type: "Slice" },
    39                 { type: "Slice" },
    40                 { type: "Arrow" },
    40                 {
       
    41                     type: "Arrow",
       
    42                     base_height: 4
       
    43                 },
    41                 { type: "Annotation" },
    44                 { type: "Annotation" },
    42                 {
    45                 {
    43                     type: "CreateAnnotation",
    46                     type: "CreateAnnotation",
    44                     api_endpoint_template: "http://192.168.56.101/pf/ldtplatform/api/ldt/annotations/{{id}}.json",
    47                     api_endpoint_template: "http://192.168.56.101/pf/ldtplatform/api/ldt/annotations/{{id}}.json",
    45                     creator_name: "Metadataplayer"
    48                     creator_name: "Metadataplayer",
       
    49                     creator_avatar: "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
       
    50                     tag_titles: ["#amateur", "#digital-humanities"]
    46                 },
    51                 },
    47                 { type: "Tweet" },
    52                 { type: "Tweet" },
    48                 {
    53                 {
    49                     type: "Tagcloud"
    54                     type: "Tagcloud"
    50                 },
    55                 },
    57         },
    62         },
    58         player:{
    63         player:{
    59             type:'auto',
    64             type:'auto',
    60             live: true, 
    65             live: true, 
    61             height: 350, 
    66             height: 350, 
    62             width: 620, 
    67             width: 550, 
    63             provider: "rtmp",
    68             provider: "rtmp",
    64             autostart: true,
    69             autostart: true,
    65             metadata: _metadata
    70             metadata: _metadata
    66         }
    71         }
    67     };
    72     };