test/integration/radio.htm
author hamidouk
Mon, 16 Jan 2012 15:06:41 +0100
branchpopcorn-port
changeset 640 a6b64eeeb76d
parent 504 02daece5dfda
child 744 76400fd4ce70
permissions -rw-r--r--
redid samuel's decimal to hexa conversion function.
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
<title>Test d'intégration de l'initialisation</title>
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 de l'initialisation.
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" type="text/javascript"></script> 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    19
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    20
	<div id="video"></div>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    21
	<div id="LdtPlayer"></div>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    22
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    23
	<script  type="text/javascript">
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    24
		var config = {						
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    25
				gui:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    26
						width:650,
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    27
						height:2100,							
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    28
						container:'LdtPlayer',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    29
						css:'../../src/css/LdtPlayer.css',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    30
					  widgets: [
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    31
						{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
    32
						 mode: "radio",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    33
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    34
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    35
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    36
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    37
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    38
						{type: "SliderWidget",
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    39
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    40
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    41
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    42
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    43
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    44
						{type: "AnnotationsWidget", 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    45
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    46
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    47
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    48
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    49
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    50
					   {type: "SegmentsWidget", 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    51
						 metadata:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    52
						  format:'cinelab',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    53
						  src:'../test.json',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    54
						  type:'json'}
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    55
						},
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    56
					  		
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    57
					  ]
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    58
			  },
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    59
			player:{
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    60
			type:'jwplayer', // player type
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    61
              flashplayer : '../libs/player.swf',
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    62
              live: true, 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    63
              "controlbar.position" : "none", 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    64
              height: 1, /* jwplayer doesn't want it to be 0 */
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    65
              width: 200, 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    66
              provider: "rtmp" 
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    67
            }
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    68
		};
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    69
		
504
02daece5dfda fixed the integration tests.
hamidouk
parents: 457
diff changeset
    70
		IriSP.loadLibs(IriSP.lib, config, "../test.json",
457
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    71
			function() { 	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    72
							var layoutManager = new IriSP.LayoutManager(config.gui.container);
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    73
							var pop = IriSP.configurePopcorn(layoutManager, config.player);
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
							var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); });
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    76
	</script>
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
	
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    79
 </body>
fbcb991cc595 updated the integration tests and changed their line endings to unix.
hamidouk
parents: 227
diff changeset
    80
 </html>