test/mashup/player.htm
branchnew-model
changeset 900 7673d645a8e0
parent 894 bb1559ef0fcb
child 902 14022f1d49ab
equal deleted inserted replaced
898:d05b8920dbaa 900:7673d645a8e0
    48 
    48 
    49 IriSP.libFiles.defaultDir = "../libs/";
    49 IriSP.libFiles.defaultDir = "../libs/";
    50 IriSP.widgetsDir = "../metadataplayer";
    50 IriSP.widgetsDir = "../metadataplayer";
    51 IriSP.jwplayer_swf_path = "../player.swf";
    51 IriSP.jwplayer_swf_path = "../player.swf";
    52 var _metadata = {
    52 var _metadata = {
    53     url: '../json/ldt-jwplayer.json',
    53     url: 'bab_files/mashup.json',
    54     format: 'ldt'
    54     format: 'ldt'
    55 };
    55 };
    56 var _config = {            
    56 var _config = {            
    57     gui: {
    57     gui: {
    58         width : 620,
    58         width : 620,
    62         },
    62         },
    63         css : '../metadataplayer/LdtPlayer-core.css',
    63         css : '../metadataplayer/LdtPlayer-core.css',
    64         widgets: [
    64         widgets: [
    65             { type: "Slider" },
    65             { type: "Slider" },
    66             { type: "Controller" },
    66             { type: "Controller" },
    67             { type: "Segments" },
    67             {
       
    68                 type: "Segments",
       
    69                 annotation_type: false
       
    70             },
    68             { type: "Arrow" },
    71             { type: "Arrow" },
    69             { type: "Annotation" }
    72             {
       
    73                 type: "Annotation",
       
    74                 annotation_type: false
       
    75             }
    70         ]
    76         ]
    71     },
    77     },
    72     player:{
    78     player:{
    73         type:'mashup',
    79         type:'mashup',
    74         live: true, 
    80         live: true, 
    75         height: 350,
    81         height: 350,
    76         width: 620, 
    82         width: 620, 
    77         provider: "rtmp",
    83         provider: "rtmp",
    78         mashup_swf : "bab_files/player_bab_ldt.swf",
    84         mashup_swf : "bab_files/player_bab_ldt.swf",
    79         mashup_xml : "bab_files/yeelen_bab.ldt",
    85         mashup_xml : "bab_files/mashup.xml",
    80         autostart: true
    86         autostart: true
    81     }
    87     }
    82 };
    88 };
    83 
    89 
    84 _myPlayer = new IriSP.Metadataplayer(_config, _metadata);
    90 _myPlayer = new IriSP.Metadataplayer(_config, _metadata);