--- a/test/integration/allocine_dossier_independant/polemic-allocine.htm Tue Apr 03 20:30:12 2012 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
- <head>
- <title>Metadataplayer - Polemic tweet integration test</title>
- </head>
- <body style="background: #222222; color: #ff00ff;">
- <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';">
- <h1>MetaDataPlayer</h1>
- Integration test - ALLOCINE PLAYER
- </div>
- <!-- START Integration ###################################### -->
- <!-- SIMPLE PLAYER EXPERIMENTATION -->
- <script type="text/javascript" src="/metadataplayer/build/LdtPlayer-release.js" type="text/javascript"></script>
- <div id="video"></div>
- <div id="LdtPlayer" style="float: left;"></div>
- <div id="Sparkline"></div>
- <script type="text/javascript">
- var json_url = 'allocine_test/bamako.json';
-
- IriSP.user = {
- name : 'awesome_user_name',
- avatar : 'allocine_test/avatar.png'
- };
- IriSP.libdir = "js/libs/";
- IriSP.defaults.user = function() {
- return IriSP.user;
- };
- var config = {
- gui : {
- width : 610,
- height : 900,
- container : 'LdtPlayer',
- css : 'css/LdtPlayer.css',
- default_options : {
- metadata : {
- format : 'cinelab',
- src : json_url,
- type : 'json'
- },
- cinecast_version : true,
- width : 610
- },
- widgets : [{
- type : "AnnotationsListWidget",
- container : "MyListContainer",
- ajax_mode : false
- }, {
- type : "SparklineWidget",
- height : 50,
- lineColor: "#ffffff",
- fillColor: "#999999"
- }, {
- type : "SegmentsWidget",
- requires : [{
- type : "TooltipWidget",
- width : 180,
- height : 160,
- }]
- }, {
- type : "createAnnotationWidget",
- polemic_mode : false,
- remote_keywords : 'http://festival.cinecast.fr/configuration.jsonp?jsonp=?',
- random_keywords : 3,
- disable_share: true,
- api_endpoint_template : "coucou/{{id}}.json",
- api_method : 'POST'
- }, {
- type: "TraceWidget",
- // js_console : true,
- url: "http://traces.advene.org:5000/",
- requestmode: 'GET',
- syncmode: "sync"
- } ]
- },
- player : {
- type : 'allocine', // player type
- height : 300,
- width : 610,
- acPlayerUrl : "allocine_test/AcPlayer_v3.0_new.swf",
- autoPlay : "true",
- urlAcData : "allocine_test/data_cinecast_new.xml"
- },
- modules : [{
- type : "MediaFragment",
- metadata : {
- format : 'cinelab',
- src : json_url,
- type : 'json'
- }
- }]
-
- };
-
- IriSP.initPlayer(config, json_url);
-
- </script>
- <div id="MyListContainer" style="float: left; width: 400px;"></div>
- </body>
-</html>