test/integration/allocine_dossier_independant/polemic-allocine.htm
author veltr
Mon, 19 Mar 2012 18:46:17 +0100
branchpopcorn-port
changeset 834 573c7ca752e0
parent 833 33a5d5882be4
child 835 a8af9da7c622
permissions -rw-r--r--
Adapted Stackgraph for Cinecast
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     3
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     4
<head>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     5
<title>Metadataplayer - Polemic tweet integration test</title>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     6
</head>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     7
823
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
     8
<body style="background: #000000; color: #ffffff;">
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
     9
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    10
  <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    11
  <h1>MetaDataPlayer</h1>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    12
  Integration test - ALLOCINE PLAYER
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    13
  </div>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    14
  
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    15
  
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    16
 <!-- START Integration  ###################################### -->
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    17
 <!-- SIMPLE PLAYER EXPERIMENTATION -->
833
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    18
  <script type="text/javascript" src="/metadataplayer/build/LdtPlayer-release.js" type="text/javascript"></script>   
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    19
  
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    20
  <div id="video"></div>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    21
  <div id="LdtPlayer"></div>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    22
  <div id="Sparkline"></div>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    23
  <script  type="text/javascript">
833
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    24
    var json_url = 'allocine_test/allocine.json';
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    25
    
823
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    26
    IriSP.user = {name: 'awesome_user_name', avatar: 'allocine_test/avatar.png'};
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    27
    IriSP.libdir = "js/libs/";
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    28
    IriSP.defaults.user = function(){ return IriSP.user; };
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    29
    
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    30
    var config = {            
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    31
        gui:{
831
0dd21c298380 Integration pour cinecast
veltr
parents: 830
diff changeset
    32
            width:610,
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    33
            height:2100,              
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    34
            container:'LdtPlayer',
831
0dd21c298380 Integration pour cinecast
veltr
parents: 830
diff changeset
    35
            css:'css/LdtPlayer.css?42',
823
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    36
            default_options : {
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    37
                metadata:{
833
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    38
                    format:'cinelab',
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    39
                    src: json_url,
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    40
                    type:'json'
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    41
                },
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    42
                cinecast_version: true,
831
0dd21c298380 Integration pour cinecast
veltr
parents: 830
diff changeset
    43
                width: 610
823
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    44
            },
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    45
            widgets: [
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    46
            {type: "StackGraphWidget",
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    47
               requires: [{
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    48
                type: "TooltipWidget",
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    49
                width: 180,
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    50
                heigh: 160,
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    51
                metadata : {type:'empty'
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    52
                }
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    53
               }],
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    54
            },            
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    55
            {type: "AnnotationsListWidget",
833
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    56
             container: "AnnotationsListContainer",
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    57
             ajax_mode: false},
830
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    58
            {type: "SliderWidget"},
831
0dd21c298380 Integration pour cinecast
veltr
parents: 830
diff changeset
    59
            {type: "PlayerWidget",
0dd21c298380 Integration pour cinecast
veltr
parents: 830
diff changeset
    60
             disable_annotate_btn: true},
830
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    61
            {type: "createAnnotationWidget",
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    62
            polemic_mode: false,
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    63
            keywords: ['#vodkaster', '#allocine', '#universcine'],
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    64
            api_endpoint_template : "coucou/{{id}}.json",
18ca612e9ff0 Lots of changes
veltr
parents: 826
diff changeset
    65
            api_method: 'POST'}
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    66
            ]
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    67
        },
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    68
      player:{
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    69
      type:'allocine', // player type 
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    70
              height: 300, 
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    71
              width: 640,
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    72
              acPlayerUrl: "allocine_test/AcPlayer_v3.0.swf",
833
33a5d5882be4 Last commit before weekend
veltr
parents: 832
diff changeset
    73
              autoPlay: "false",
823
1e7962e1d3ae Starting 'cinecast-traces' branch
veltr
parents: 820
diff changeset
    74
              urlAcData: "allocine_test/data_cinecast.xml"
819
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    75
      },
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    76
      modules: [
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    77
               { type: "MediaFragment",
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    78
                         metadata:{
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    79
                       format:'cinelab',
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    80
                           src:json_url,
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    81
                             type:'json'}
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    82
                        }]
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    83
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    84
    };
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    85
    
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    86
    
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    87
    IriSP.initPlayer(config, json_url);
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    88
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    89
  </script>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    90
  
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    91
  
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    92
 </body>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    93
 <div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div>
9b8e68803f6f add allocine player, and add an full test with this allocine player.
cavaliet
parents:
diff changeset
    94
 </html>