test/jwplayer.htm
branchnew-model
changeset 916 ec6849bbbdcc
parent 910 b9f1bd52df9a
child 924 64c2eaafe5e2
equal deleted inserted replaced
915:ba7aab923d08 916:ec6849bbbdcc
    15         <div id="LdtPlayer"></div>
    15         <div id="LdtPlayer"></div>
    16         <div id="AnnotationsListContainer"></div>
    16         <div id="AnnotationsListContainer"></div>
    17         <script type="text/javascript">
    17         <script type="text/javascript">
    18     IriSP.libFiles.locations.jwPlayerSWF = "player.swf";
    18     IriSP.libFiles.locations.jwPlayerSWF = "player.swf";
    19     IriSP.libFiles.defaultDir = "libs/";
    19     IriSP.libFiles.defaultDir = "libs/";
       
    20     IriSP.language = 'fr';
    20     IriSP.widgetsDir = "metadataplayer";
    21     IriSP.widgetsDir = "metadataplayer";
    21     var _metadata = {
    22     var _metadata = {
    22         url: 'json/ldt-jwplayer.json',
    23         url: 'json/ldt-jwplayer.json',
    23         format: 'ldt'
    24         format: 'ldt'
    24     };
    25     };
    29             default_options: {
    30             default_options: {
    30                 metadata: _metadata
    31                 metadata: _metadata
    31             },
    32             },
    32             css : 'metadataplayer/LdtPlayer-core.css',
    33             css : 'metadataplayer/LdtPlayer-core.css',
    33             widgets: [
    34             widgets: [
    34                 { type: "Sparkline" },
       
    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                 { type: "Arrow" },
    41                 { type: "Annotation" },
    41                 { type: "Annotation" },
    42 /*                {
    42                 {
    43                     type: "CreateAnnotation",
    43                     type: "CreateAnnotation",
    44                     api_endpoint_template: "http://192.168.56.101/pf/ldtplatform/api/ldt/annotations/{{id}}.json",
    44                     api_endpoint_template: "http://192.168.56.101/pf/ldtplatform/api/ldt/annotations/{{id}}.json",
    45                     creator_name: "Metadataplayer"
    45                     creator_name: "Metadataplayer"
    46             }, */
    46                 },
    47                 { type: "Tweet" },
    47                 { type: "Tweet" },
    48                 {
    48                 {
    49                     type: "Tagcloud",
    49                     type: "Tagcloud"
    50                     segment_annotation_type: "chap"
       
    51                 },
    50                 },
    52                 {
    51                 {
    53                     type: "AnnotationsList",
    52                     type: "AnnotationsList",
    54                     container: "AnnotationsListContainer"
    53                     container: "AnnotationsListContainer"
    55                 },
    54                 },