web/rsln/res/metadataplayer/test/index-vimeo.htm
changeset 120 3daa4039509a
parent 119 4c86151704e9
child 121 2b794b7901d6
equal deleted inserted replaced
119:4c86151704e9 120:3daa4039509a
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       
     2 <html dir="ltr" xml:lang="fr" 
       
     3 xmlns="http://www.w3.org/1999/xhtml" lang="fr">
       
     4 
       
     5 <head>
       
     6 
       
     7 </head>
       
     8 
       
     9 <body  style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
       
    10 
       
    11 	<div>
       
    12 	<h1>MetaData Player / Vimeo</h1>
       
    13 		<a href="index.htm"> back </a><br/>
       
    14 		<br/>
       
    15 	</div>
       
    16 	<div>
       
    17  <!-- START IRI EMBED    ###################################### -->
       
    18  <!-- SIMPLE PLAYER EXPERIMENTATION -->
       
    19 	<script type="text/javascript" src="../src/js/LdtPlayer.js"></script> 
       
    20 
       
    21 	<!--<input id="amount" />
       
    22 	
       
    23 	VIMEO 
       
    24 	
       
    25 	<iframe src="http://player.vimeo.com/video/19433018" width="400" height="225" frameborder="0"></iframe>
       
    26 	<p><a href="http://vimeo.com/19433018">Clay Shirky, on Egypt and Tunisia : when a football forum goes politics</a> 
       
    27 	from <a href="http://vimeo.com/rencontresrsln">Les Rencontres RSLN</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
       
    28 
       
    29 	API 
       
    30 
       
    31 	http://api.vimeo.com/moogaloop_api.swf	
       
    32 	
       
    33 	oauth_key 			The Consumer Key that is associated with your API Application. NEW!
       
    34 	clip_id 			The ID of the video you want to load.
       
    35 	width (optional) 	Sets the width of the player. Defaults to 400.
       
    36 	height(optional) 	Sets the height of the player. Defaults to 300.
       
    37 	fp_version (optional) Flash Player version of app. Defaults to 9 ().NEW!
       
    38 	fullscreen (optional) Enable fullscreen capability. Defaults to true.
       
    39 	title (optional) 	Show the byline on the video. Defaults to true.
       
    40 	byline (optional) 	Show the title on the video. Defaults to true.
       
    41 	portrait (optional) Show the user's portrait on the video. Defaults to true.
       
    42 	color (optional) 	Specify the color of the video controls.
       
    43 	hd_off	 (optional) Set to 1 to disable HD.
       
    44 	js_api 				Set to 1 to enable the Javascript API.
       
    45 	js_onLoad (optional) JS function called when the player loads. Defaults to vimeo_player_loaded.
       
    46 	js_swf_id (optional) Unique id that is passed into all player events as the ending parameter.
       
    47 	
       
    48 	
       
    49 	Consumer Key: 487aaaa9064b658193bd82aa50032dc7 
       
    50 	Consumer Secret: caf5ce14e2201b69 Please do not share this with others 
       
    51 
       
    52 	
       
    53 	treemap video player : 
       
    54 	
       
    55 		Media 			Poid
       
    56 
       
    57 		-> vidéo 		fixe
       
    58 		-> Twitter 		
       
    59 		-> Wikipedia 
       
    60 		-> Flick'R
       
    61 		-> Google Map
       
    62 		-> slides 		
       
    63 	
       
    64 	-->
       
    65 	
       
    66 	<div id="LdtPlayer"></div>
       
    67 	 
       
    68 	<script  type="text/javascript">	
       
    69 		var config = {
       
    70 						metadata:{
       
    71 							format:'cinelab',
       
    72 							//# URL metadata's file
       
    73 							src:'http://www.iri.centrepompidou.fr//dev/ldt/ldtplatform/ldt/cljson/id/607807e6-3054-11e0-b2c7-00145ea49a02',
       
    74 							//# load from the same server
       
    75 							//load:'json'
       
    76 							//# load from a other serveur
       
    77 							load:'jsonp'
       
    78 							},
       
    79 						gui:{
       
    80 							//# width of the video size
       
    81 							width:480,
       
    82 							//# height of the video size , 1 for the radio 
       
    83 							height:360,
       
    84 							//# mode radio or video
       
    85 							mode:'video',
       
    86 							//# Id of div container
       
    87 							container:'LdtPlayer',
       
    88 							//# to see output 
       
    89 							debug:true,
       
    90 							css:'../src/css/LdtPlayer.css'},
       
    91 						player:{
       
    92 							type:'vimeo',
       
    93 							//  http://player.vimeo.com/video/19474948
       
    94 							src:'19474948'
       
    95 							}
       
    96 					};
       
    97 		__IriSP.init(config);     
       
    98 	</script>
       
    99 <!-- END  ################  ###################################### -->
       
   100 	</div>
       
   101 
       
   102 
       
   103  </body>
       
   104  </html>