--- a/test/integration/test-slideshare.htm Tue Sep 04 17:15:22 2012 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +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>
- <div style="width:650px;">
- <h1>MetaDataPlayer</h1>
- Integration test - SLIDE SHARE
- </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 = 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/8a1a344a-7f34-11e1-9ee2-00145ea4a2be';
-
- IriSP.user = {
- name : 'awesome_user_name',
- avatar : 'allocine_dossier_independant/allocine_test/avatar.png'
- };
- IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/";
- IriSP.language = 'fr';
- var config = {
- gui : {
- width : 610,
- height : 900,
- container : 'LdtPlayer',
- css : '../../src/css/LdtPlayer.css',
- default_options : {
- width: 610,
- //cinecast_version: true,
- metadata : {
- format : 'cinelab',
- src : json_url,
- type : 'json'
- }
- },
- widgets : [{
- type : "AnnotationsListWidget",
- container : "MyListContainer", // div dans lequel sera affiché "Annotations Liées"
- ajax_mode : false, // nécessaire pour des raisons historiques
- refresh_interval : 15 * 60 * 1000 // 15 minutes
- }, {
- type : "SparklineWidget",
- height : 50,
- lineColor: "#ffffff",
- fillColor: "#999999"
- }, {
- type : "SliderWidget"
- }, {
- type : "PlayerWidget",
- mode: 'radio',
- height : 100
- }, {
- type : "SegmentsWidget",
- requires : [{
- type : "TooltipWidget",
- width : 180,
- height : 160,
- }]
- }, {
- type : "SlideShareWidget",
- container : "MySlideShareContainer",
- embed_width : 330,
- embed_height : 250
- }, {
- type : "createAnnotationWidget",
- polemic_mode : false,
- api_endpoint_template : "json_examples/return_after_post.json", //"endpoint/{{id}}.json",
- api_method : 'POST'
- }, /* {
- type: "TraceWidget",
- // js_console : true,
- url: "http://traces.advene.org:5000/",
- requestmode: 'GET',
- syncmode: "sync"
- } */ ]
- },
- player : {
- type : 'jwplayer', // player type
- height : 300,
- width : 610,
- provider : 'rtmp',
- flashplayer : '../libs/player.swf'
- },
- modules : [{
- type : "MediaFragment",
- metadata : {
- format : 'cinelab',
- src : json_url,
- type : 'json'
- }
- }]
-
- };
-
- IriSP.initPlayer(config, json_url);
-
- </script>
- <div id="MySlideShareContainer" style="float: left; width: 400px; margin-left: 5px;"></div>
- <div id="MyListContainer" style="float: left; width: 400px; margin-left: 5px;"></div>
- </body>
-</html>