web/rsln-opendata/res/metadataplayer/test/index-vimeo.htm
author Samuel Huron <samuel.huron@centrepompidou.fr>
Tue, 15 Mar 2011 13:46:46 +0100
changeset 66 8a382087127f
permissions -rw-r--r--
rsln-opendata

<!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 / Vimeo</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" />
	
	VIMEO 
	
	<iframe src="http://player.vimeo.com/video/19433018" width="400" height="225" frameborder="0"></iframe>
	<p><a href="http://vimeo.com/19433018">Clay Shirky, on Egypt and Tunisia : when a football forum goes politics</a> 
	from <a href="http://vimeo.com/rencontresrsln">Les Rencontres RSLN</a> on <a href="http://vimeo.com">Vimeo</a>.</p>

	API 

	http://api.vimeo.com/moogaloop_api.swf	
	
	oauth_key 			The Consumer Key that is associated with your API Application. NEW!
	clip_id 			The ID of the video you want to load.
	width (optional) 	Sets the width of the player. Defaults to 400.
	height(optional) 	Sets the height of the player. Defaults to 300.
	fp_version (optional) Flash Player version of app. Defaults to 9 ().NEW!
	fullscreen (optional) Enable fullscreen capability. Defaults to true.
	title (optional) 	Show the byline on the video. Defaults to true.
	byline (optional) 	Show the title on the video. Defaults to true.
	portrait (optional) Show the user's portrait on the video. Defaults to true.
	color (optional) 	Specify the color of the video controls.
	hd_off	 (optional) Set to 1 to disable HD.
	js_api 				Set to 1 to enable the Javascript API.
	js_onLoad (optional) JS function called when the player loads. Defaults to vimeo_player_loaded.
	js_swf_id (optional) Unique id that is passed into all player events as the ending parameter.
	
	
	Consumer Key: 487aaaa9064b658193bd82aa50032dc7 
	Consumer Secret: caf5ce14e2201b69 Please do not share this with others 

	
	treemap video player : 
	
		Media 			Poid

		-> vid�o 		fixe
		-> Twitter 		
		-> Wikipedia 
		-> Flick'R
		-> Google Map
		-> slides 		
	
	-->
	
	<div id="LdtPlayer"></div>
	 
	<script  type="text/javascript">	
		var config = {
						metadata:{
							format:'cinelab',
							//# URL metadata's file
							src:'http://www.iri.centrepompidou.fr//dev/ldt/ldtplatform/ldt/cljson/id/607807e6-3054-11e0-b2c7-00145ea49a02',
							//# 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:true,
							css:'../src/css/LdtPlayer.css'},
						player:{
							type:'vimeo',
							//  http://player.vimeo.com/video/19474948
							src:'19474948'
							}
					};
		__IriSP.init(config);     
	</script>
<!-- END  ################  ###################################### -->
	</div>


 </body>
 </html>