--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/rsln-opendata/res/metadataplayer/test/index-youtube.htm Tue Mar 15 13:46:46 2011 +0100
@@ -0,0 +1,64 @@
+<!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>
+
+</head>
+
+<body style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';">
+
+ <div>
+ <h1>MetaData Player / Youtube </h1>
+ <a href="index.htm"> back </a><br/>
+ <br/>
+ </div>
+ <div>
+ <!-- START IRI EMBED ###################################### -->
+ <!-- SIMPLE PLAYER EXPERIMENTATION -->
+ <script type="text/javascript" src="../src/js/LdtPlayer.js"></script>
+
+ <!--<input id="amount" />-->
+
+ <div id="LdtPlayer"></div>
+
+ <script type="text/javascript">
+ var config = {
+ metadata:{
+ format:'cinelab',
+ //# URL metadata's file
+ src:'http://exp.iri.centrepompidou.fr/franceculture/franceculture/ldt/cljson/id/755519f6-fd5f-11df-9e4a-00145ea4a2be',
+ //# load from the same server
+ //load:'json'
+ //# load from a other serveur
+ load:'jsonp'
+ },
+ gui:{
+ //# width of the video size
+ width:480,
+ //# height of the video size , 1 for the radio
+ height:360,
+ //# mode radio or video
+ mode:'video',
+ //# Id of div container
+ container:'LdtPlayer',
+ //# to see output
+ debug:false,
+ css:'../src/css/LdtPlayer.css'},
+ player:{
+ type:'youtube',
+ //# without youtube player UI :
+ //http://www.youtube.com/watch?v=xd0SClmuLo4
+ src:'http://www.youtube.com/apiplayer?video_id=bB4lXDUHsfQ&'
+ //# with youtube player UI :
+ //src:'http://www.youtube.com/v/lFtNG1wZ4zU'
+ }
+ };
+ __IriSP.init(config);
+ </script>
+<!-- END ################ ###################################### -->
+ </div>
+
+
+ </body>
+ </html>
\ No newline at end of file