test/integration/youtube.htm
author hamidouk
Tue, 31 Jan 2012 15:32:35 +0100
branchpopcorn-port
changeset 750 a1a3d09de1f4
parent 744 76400fd4ce70
permissions -rw-r--r--
added comment.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     3
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     4
<head>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     5
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     6
</head>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     7
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     8
<body>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
     9
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    10
	<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    11
	<h1>MetaDataPlayer </h1>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    12
	Test d'intégration du widget du player avec Popcorn (Youtube).
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    13
	</div>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    14
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    15
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    16
 <!-- START Integration  ###################################### -->
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    17
 <!-- SIMPLE PLAYER EXPERIMENTATION -->
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    18
	<script type="text/javascript" src="../../build/LdtPlayer-release.js"></script> 
504
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    19
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    20
	<div id="LdtPlayer"></div>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    21
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    22
	<script  type="text/javascript">
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    23
		var config = {						
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    24
				gui:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    25
						width:650,
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    26
						height:2100,							
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    27
						container:'LdtPlayer',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    28
						css:'../../src/css/LdtPlayer.css',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    29
					  widgets: [					  	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    30
						{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    31
						 mode: "radio",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    32
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    33
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    34
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    35
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    36
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    37
            {type: "SliderWidget",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    38
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    39
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    40
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    41
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    42
						},
504
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    43
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    44
						{type: "SegmentsWidget", // please note that type refers directly to the constructor of the widget.
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    45
						 mode: "radio",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    46
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    47
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    48
						  src:'../test.json',
504
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    49
						  type:'json'},
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    50
              requires: [{
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    51
              type: "TooltipWidget",
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    52
              width: 180,
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    53
              heigh: 160,
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    54
              metadata : {
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    55
                type:'empty'
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    56
              }
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    57
             }]
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    58
						},
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    59
												
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    60
						{type: "ArrowWidget", // please note that type refers directly to the constructor of the widget.
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    61
						 mode: "radio",
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    62
						 metadata:{
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    63
						  format:'cinelab',
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    64
						  src:'../test.json',
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    65
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    66
						},
504
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    67
            
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    68
						{type: "AnnotationsWidget", // please note that type refers directly to the constructor of the widget.
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    69
						 mode: "radio",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    70
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    71
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    72
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    73
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    74
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    75
					  	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    76
					  ]
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    77
			  },
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    78
			player:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    79
				type:'youtube', // player type
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    80
				  // the rest is player-dependent configuration options.
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    81
				  video: "http://www.youtube.com/watch?v=rrkrvAUbU9Y",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    82
				  height: 400, 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    83
				  width: 640, 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    84
				  provider: "rtmp" 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    85
				}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    86
		};
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    87
		
744
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 504
diff changeset
    88
    IriSP.initPlayer(config, "../test.json");
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 504
diff changeset
    89
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    90
	</script>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    91
<div id='Ldt-Root'>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    92
	<div id='Ldt-PlaceHolder'>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    93
	</div>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    94
</div>	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    95
<!-- END  ################  ###################################### -->
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    96
 </body>
215
e03f5f886f52 renamed and trimmed the integration tests.
hamidouk
parents:
diff changeset
    97
 </html>