test/integration/polemic-youtube.htm
author cavaliet
Thu, 10 May 2012 18:36:38 +0200
changeset 886 ab69ff6fa02b
parent 786 91c54c9f5824
permissions -rw-r--r--
correct js for embed bab player.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     2
<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     3
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     4
<head>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     5
<title>Test d'intégration du widget Polemic Tweet</title>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     6
</head>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     7
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     8
<body>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
     9
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    10
	<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    11
	<h1>MetaDataPlayer </h1>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    12
	Test d'intégration du widget polemic tweet.
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    13
	</div>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    14
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    15
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    16
 <!-- START Integration  ###################################### -->
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    17
 <!-- SIMPLE PLAYER EXPERIMENTATION -->
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    18
	<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> 
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    19
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    20
	<div id="video"></div>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    21
	<div id="LdtPlayer"></div>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    22
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    23
	<script  type="text/javascript">
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    24
		var config = {						
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    25
				gui:{
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    26
						width:650,
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    27
						height:2100,							
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    28
						container:'LdtPlayer',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    29
						css:'../../src/css/LdtPlayer.css',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    30
					  widgets: [
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    31
					  	{type: "PolemicWidget",
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    32
						 width: 640, /* required for this widget */
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    33
						 height: 50,
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    34
						 heightmax: 50,
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    35
						 metadata:{
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    36
						  format:'cinelab',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    37
						  src:'polemic_fr.json',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    38
						  type:'json'},
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    39
						  
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    40
						 requires: [{
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    41
							type: "TooltipWidget",
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    42
							width: 180,
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    43
							heigh: 160,
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    44
							metadata : {
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    45
								format:'cinelab',
227
0eb060a3b656 updated the test to use the new slider widget.
hamidouk
parents: 215
diff changeset
    46
								src:'polemic_fr.json',
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    47
								type:'empty'
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    48
							}
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    49
						 }],
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    50
						},
279
2c65775623cb moved the sliderwidget just under the polemic widget in the integration tests.
hamidouk
parents: 266
diff changeset
    51
            {type: "SliderWidget",
2c65775623cb moved the sliderwidget just under the polemic widget in the integration tests.
hamidouk
parents: 266
diff changeset
    52
						 metadata:{
2c65775623cb moved the sliderwidget just under the polemic widget in the integration tests.
hamidouk
parents: 266
diff changeset
    53
						  format:'cinelab',
2c65775623cb moved the sliderwidget just under the polemic widget in the integration tests.
hamidouk
parents: 266
diff changeset
    54
						  src:'polemic_fr.json',
2c65775623cb moved the sliderwidget just under the polemic widget in the integration tests.
hamidouk
parents: 266
diff changeset
    55
						  type:'json'}
281
7edd686a2b2a forgot a comma while resolving a merge conflict.
hamidouk
parents: 280
diff changeset
    56
						},
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    57
						{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    58
						 mode: "radio",
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    59
						 metadata:{
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    60
						  format:'cinelab',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    61
						  src:'polemic_fr.json',
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    62
						  type:'json'}
227
0eb060a3b656 updated the test to use the new slider widget.
hamidouk
parents: 215
diff changeset
    63
						},
351
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    64
           {type: "SegmentsWidget",
302
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    65
             metadata:{
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    66
              format:'cinelab',
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    67
              src:'polemic_fr.json',
351
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    68
              type:'json'},
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    69
             requires: [{
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    70
              type: "TooltipWidget",
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    71
              width: 180,
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    72
              heigh: 160,
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    73
              metadata : {
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    74
                type:'empty'
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    75
              }
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    76
             }]},
e5190c3a682c forgot to update the other polemic tweet example - the segmentsWidget now depends
hamidouk
parents: 302
diff changeset
    77
302
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    78
            {type: "ArrowWidget",
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    79
             metadata:{
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    80
              format:'cinelab',
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    81
              src:'polemic_fr.json',
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    82
              type:'json'}
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
    83
            },
266
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    84
            {type: "AnnotationsWidget",
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    85
						 metadata:{
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    86
						  format:'cinelab',
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    87
						  src:'polemic_fr.json',
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    88
						  type:'json'}
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    89
						},
267
f84013fb19dc added a new widget, to display the contents of tweets in a separate pane.
hamidouk
parents: 266
diff changeset
    90
            {type: "TweetsWidget",
f84013fb19dc added a new widget, to display the contents of tweets in a separate pane.
hamidouk
parents: 266
diff changeset
    91
						 metadata:{
f84013fb19dc added a new widget, to display the contents of tweets in a separate pane.
hamidouk
parents: 266
diff changeset
    92
						  format:'cinelab',
f84013fb19dc added a new widget, to display the contents of tweets in a separate pane.
hamidouk
parents: 266
diff changeset
    93
						  src:'polemic_fr.json',
f84013fb19dc added a new widget, to display the contents of tweets in a separate pane.
hamidouk
parents: 266
diff changeset
    94
						  type:'json'}
266
1c83c4bba0ce added an annotationWidget to the integration tests.
hamidouk
parents: 227
diff changeset
    95
						}
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    96
					  ]
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    97
			  },
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
    98
			player:{
786
91c54c9f5824 Dailymotion long video test
veltr
parents: 785
diff changeset
    99
			type:'youtube', // player type
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   100
			  // the rest is player-dependent configuration options.
786
91c54c9f5824 Dailymotion long video test
veltr
parents: 785
diff changeset
   101
			  video: "http://www.youtube.com/watch?v=rrkrvAUbU9Y", 
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   102
			  height: 300, 
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   103
			  width: 640, 
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   104
            }
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   105
		};
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   106
		
744
76400fd4ce70 changed the files to follow the simpler embed convention.
hamidouk
parents: 504
diff changeset
   107
    IriSP.initPlayer(config, "polemic_fr.json");
199
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   108
	</script>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   109
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   110
	
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   111
 </body>
055cc2e81941 added an integration-testing file for youtube.
hamidouk
parents:
diff changeset
   112
 <div id="PopcornContainer"></div>
302
c057e5134fa2 update the examples to include the arrowWidget.
hamidouk
parents: 281
diff changeset
   113
 </html>