--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/integration/polemic-dailymotion.htm Tue Feb 07 14:46:51 2012 +0100
@@ -0,0 +1,113 @@
+<!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>Test d'intégration du widget Polemic Tweet</title>
+</head>
+
+<body>
+
+ <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';">
+ <h1>MetaDataPlayer </h1>
+ Test d'intégration du widget polemic tweet.
+ </div>
+
+
+ <!-- START Integration ###################################### -->
+ <!-- SIMPLE PLAYER EXPERIMENTATION -->
+ <script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script>
+
+ <div id="video"></div>
+ <div id="LdtPlayer"></div>
+
+ <script type="text/javascript">
+ var config = {
+ gui:{
+ width:650,
+ height:2100,
+ container:'LdtPlayer',
+ css:'../../src/css/LdtPlayer.css',
+ widgets: [
+ {type: "PolemicWidget",
+ width: 640, /* required for this widget */
+ height: 50,
+ heightmax: 50,
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'},
+
+ requires: [{
+ type: "TooltipWidget",
+ width: 180,
+ heigh: 160,
+ metadata : {
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'empty'
+ }
+ }],
+ },
+ {type: "SliderWidget",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'}
+ },
+ {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
+ mode: "radio",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'}
+ },
+ {type: "SegmentsWidget",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'},
+ requires: [{
+ type: "TooltipWidget",
+ width: 180,
+ heigh: 160,
+ metadata : {
+ type:'empty'
+ }
+ }]},
+
+ {type: "ArrowWidget",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'}
+ },
+ {type: "AnnotationsWidget",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'}
+ },
+ {type: "TweetsWidget",
+ metadata:{
+ format:'cinelab',
+ src:'polemic_fr.json',
+ type:'json'}
+ }
+ ]
+ },
+ player:{
+ type:'dailymotion', // player type
+ // the rest is player-dependent configuration options.
+ video: "http://www.dailymotion.com/video/x9pjk9_video-detente-la-longue-route-2_videogames",
+ height: 300,
+ width: 640,
+ }
+ };
+
+ IriSP.initPlayer(config, "polemic_fr.json");
+ </script>
+
+
+ </body>
+ <div id="PopcornContainer"></div>
+ </html>
--- a/test/integration/polemic-youtube.htm Tue Feb 07 14:41:05 2012 +0100
+++ b/test/integration/polemic-youtube.htm Tue Feb 07 14:46:51 2012 +0100
@@ -96,9 +96,9 @@
]
},
player:{
- type:'dailymotion', // player type
+ type:'youtube', // player type
// the rest is player-dependent configuration options.
- video: "http://www.dailymotion.com/video/xodjrx",
+ video: "http://www.youtube.com/watch?v=rrkrvAUbU9Y",
height: 300,
width: 640,
}