test/integration/polemic-festival.htm
author hamidouk
Fri, 03 Feb 2012 17:05:11 +0100
branchpopcorn-port
changeset 777 96e89720ff18
parent 744 76400fd4ce70
child 805 48cd2b83c7c5
permissions -rw-r--r--
added show/hide message. Removed reaction to annotateClick signal
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">
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    24
    var platf_url = "http://192.168.56.101/pf/ldtplatform/ldt/",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    25
        project_id = "bb18dcdc-41bc-11e1-91b2-08002791f1b7",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    26
        json_url = platf_url + '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',
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    33
            widgets: [
067002a5131d a minor change
veltr
parents: 679
diff changeset
    34
            {type: "StackGraphWidget",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    35
                tags : [
067002a5131d a minor change
veltr
parents: 679
diff changeset
    36
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    37
                        "keywords" : [ "élève", "souleyman", "souleiman", "koumba", "kumba", "karl", "esmeralda" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    38
                        "description" : "Mentions des élèves",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    39
                        "color" : "#CE0A15",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    40
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    41
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    42
                        "keywords" : [ "F.M", "françois" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    43
                        "description" : "Mentions de François",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    44
                        "color" : "#036AAE",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    45
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    46
                    {
067002a5131d a minor change
veltr
parents: 679
diff changeset
    47
                        "keywords" : [ "plan", "pano", "caméra", "plongée" ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    48
                        "description" : "Descriptions de plans",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    49
                        "color" : "#C5A62D",   
067002a5131d a minor change
veltr
parents: 679
diff changeset
    50
                    },
067002a5131d a minor change
veltr
parents: 679
diff changeset
    51
                ],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    52
               metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    53
                format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
    54
                src: json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    55
                type:'json'},
067002a5131d a minor change
veltr
parents: 679
diff changeset
    56
                
067002a5131d a minor change
veltr
parents: 679
diff changeset
    57
               requires: [{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    58
                type: "TooltipWidget",
067002a5131d a minor change
veltr
parents: 679
diff changeset
    59
                width: 180,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    60
                heigh: 160,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    61
                metadata : {type:'empty'
067002a5131d a minor change
veltr
parents: 679
diff changeset
    62
                }
067002a5131d a minor change
veltr
parents: 679
diff changeset
    63
               }],
067002a5131d a minor change
veltr
parents: 679
diff changeset
    64
            },            
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    65
            {type: "AnnotationsListWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    66
             container: "AnnotationsListContainer",             
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    67
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    68
                          format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
    69
                          src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    70
                          type:'json'}
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: "SparklineWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    73
             width: 640, /* required for this widget */
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    74
             height: 50,            
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    75
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    76
                          format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
    77
                          src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    78
                          type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
    79
                        },
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    80
            {type: "SliderWidget",
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    81
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
    82
                          format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
    83
                          src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
    84
                          type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
    85
                        },        
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    86
            {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    87
             mode: "radio",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    88
             metadata:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    89
              format:'cinelab',
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    90
              src:json_url,
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    91
              type:'json'}
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    92
            },
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    93
            {type: "SegmentsWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    94
             metadata:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    95
              format:'cinelab',
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
    96
              src:json_url,
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    97
              type:'json'},
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    98
             requires: [{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
    99
              type: "TooltipWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   100
              width: 180,
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   101
              heigh: 160,
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   102
              metadata : {
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   103
                type:'empty'
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   104
              }
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   105
             }],
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   106
            },                     
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   107
            {type: "ArrowWidget",
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   108
             metadata:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   109
              format:'cinelab',
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
   110
              src:json_url,
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   111
              type:'json'}
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
            {type: "TweetsWidget",
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
   114
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
   115
                          format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
   116
                          src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
   117
                          type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
   118
                        },
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   119
            {type: "createAnnotationWidget",
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
   120
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
   121
                          format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
   122
                          src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
   123
                          type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
   124
                        }      
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   125
            ]
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   126
        },
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   127
      player:{
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   128
      type:'jwplayer', // player type
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   129
              live: true, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   130
              height: 300, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   131
              width: 640, 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   132
              provider: "rtmp" 
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   133
      },
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   134
      modules: [
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   135
               { type: "MediaFragment",
725
067002a5131d a minor change
veltr
parents: 679
diff changeset
   136
                         metadata:{
067002a5131d a minor change
veltr
parents: 679
diff changeset
   137
                       format:'cinelab',
067002a5131d a minor change
veltr
parents: 679
diff changeset
   138
                           src:json_url,
067002a5131d a minor change
veltr
parents: 679
diff changeset
   139
                             type:'json'}
067002a5131d a minor change
veltr
parents: 679
diff changeset
   140
                        }]
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   141
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   142
    };
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   143
    
744
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 725
diff changeset
   144
    IriSP.initPlayer(config, json_url);
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 725
diff changeset
   145
617
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   146
  </script>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   147
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   148
  
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   149
 </body>
cb8772265ce2 added integration test file for festival cinecast.
hamidouk
parents:
diff changeset
   150
 <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
   151
 </html>