test/integration/polemic-festival.htm
author cavaliet
Thu, 26 Apr 2012 12:09:56 +0200
changeset 878 c983360f0e7a
parent 810 85a278e12495
permissions -rw-r--r--
SlideShareWidget better management of container.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     3
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     4
<head>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     5
<title>Metadataplayer - Polemic tweet integration test</title>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     6
</head>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     7
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     8
<body>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
     9
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    10
  <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    11
  <h1>MetaDataPlayer</h1>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    12
  Integration test - Using an ldtplatform located at http://localhost/pf/
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    13
  </div>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    14
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    15
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    16
 <!-- START Integration  ###################################### -->
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    17
 <!-- SIMPLE PLAYER EXPERIMENTATION -->
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    18
  <script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script>   
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    19
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    20
  <div id="video"></div>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    21
  <div id="LdtPlayer"></div>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    22
  <div id="Sparkline"></div>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    23
  <script  type="text/javascript">
805
48cd2b83c7c5 removed code raphv had commited erronously.
hamidouk
parents: 744
diff changeset
    24
    var platf_url = IriSP.platform_url;
48cd2b83c7c5 removed code raphv had commited erronously.
hamidouk
parents: 744
diff changeset
    25
    var project_id = "a0593b58-f258-11df-80e1-00145ea4a2be";
48cd2b83c7c5 removed code raphv had commited erronously.
hamidouk
parents: 744
diff changeset
    26
    var json_url = platf_url + '/ldtplatform/ldt/cljson/id/' + project_id;
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    27
    var config = {            
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    28
        gui:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    29
            width:650,
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    30
            height:2100,              
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    31
            container:'LdtPlayer',
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    32
            css:'../../src/css/LdtPlayer.css',
810
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    33
			default_options : {
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    34
			 metadata:{
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    35
                          format:'cinelab',
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    36
                          src:json_url,
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    37
                          type:'json'}
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    38
            },
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    39
			
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    40
            widgets: [
067002a5131d a minor change
veltr
parents: 679
diff changeset
    41
            {type: "StackGraphWidget",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    42
                tags : [
067002a5131d a minor change
veltr
parents: 679
diff changeset
    43
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    44
                        "keywords" : [ "élève", "souleyman", "souleiman", "koumba", "kumba", "karl", "esmeralda" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    45
                        "description" : "Mentions des élèves",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    46
                        "color" : "#CE0A15",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    47
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    48
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    49
                        "keywords" : [ "F.M", "françois" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    50
                        "description" : "Mentions de François",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    51
                        "color" : "#036AAE",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    52
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    53
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    54
                        "keywords" : [ "plan", "pano", "caméra", "plongée" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    55
                        "description" : "Descriptions de plans",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    56
                        "color" : "#C5A62D",   
067002a5131d a minor change
veltr
parents: 679
diff changeset
    57
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    58
                ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    59
               metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    60
                format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
    61
                src: json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    62
                type:'json'},
067002a5131d a minor change
veltr
parents: 679
diff changeset
    63
                
067002a5131d a minor change
veltr
parents: 679
diff changeset
    64
               requires: [{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    65
                type: "TooltipWidget",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    66
                width: 180,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    67
                heigh: 160,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    68
                metadata : {type:'empty'
067002a5131d a minor change
veltr
parents: 679
diff changeset
    69
                }
067002a5131d a minor change
veltr
parents: 679
diff changeset
    70
               }],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    71
            },            
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    72
            {type: "AnnotationsListWidget",
810
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    73
             container: "AnnotationsListContainer"},                                   
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    74
            {type: "SparklineWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    75
             width: 640, /* required for this widget */
810
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    76
             height: 50,
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    77
			},
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    78
            {type: "SliderWidget"},        
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    79
            {type: "PlayerWidget"},
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    80
            {type: "SegmentsWidget",             
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    81
             requires: [{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    82
              type: "TooltipWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    83
              width: 180,
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    84
              heigh: 160,
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    85
              metadata : {
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    86
                type:'empty'
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    87
              }
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    88
             }],
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    89
            },                     
810
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    90
            {type: "ArrowWidget",           
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    91
            },
810
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    92
            {type: "TweetsWidget",                       
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    93
            },
85a278e12495 added default options for the widgets.
hamidouk
parents: 805
diff changeset
    94
            {type: "createAnnotationWidget"}   
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    95
            ]
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    96
        },
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    97
      player:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    98
      type:'jwplayer', // player type
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    99
              live: true, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   100
              height: 300, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   101
              width: 640, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   102
              provider: "rtmp" 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   103
      },
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   104
      modules: [
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   105
               { type: "MediaFragment",
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
   106
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
   107
                       format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
   108
                           src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
   109
                             type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
   110
                        }]
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   111
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   112
    };
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   113
    
744
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 725
diff changeset
   114
    IriSP.initPlayer(config, json_url);
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 725
diff changeset
   115
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   116
  </script>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   117
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   118
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   119
 </body>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   120
 <div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   121
 </html>