| author | hamidouk |
| Fri, 17 Feb 2012 11:57:27 +0100 | |
| branch | popcorn-port |
| changeset 817 | e9599ee285ab |
| parent 815 | 44d34270541c |
| child 827 | 1dc2f85c3b89 |
| permissions | -rw-r--r-- |
| 178 | 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" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
|
3 |
||
4 |
<head> |
|
| 208 | 5 |
<title>Metadataplayer - Polemic tweet integration test</title> |
| 178 | 6 |
</head> |
7 |
||
8 |
<body> |
|
9 |
||
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
10 |
<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
11 |
<h1>MetaDataPlayer</h1> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
12 |
Polemic tweet integration test - using Popcorn, jwplayer and the <a href="http://polemictweet.com">PolemicTweet</a> widget.<br> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
13 |
</div> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
14 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
15 |
|
| 178 | 16 |
<!-- START Integration ###################################### --> |
17 |
<!-- SIMPLE PLAYER EXPERIMENTATION --> |
|
| 504 | 18 |
<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
19 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
20 |
<div id="video"></div> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
21 |
<div id="LdtPlayer"></div> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
22 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
23 |
<script type="text/javascript"> |
|
815
44d34270541c
use polemic_fr instead of super-slow twitterized.json
hamidouk
parents:
811
diff
changeset
|
24 |
var file = "polemic_fr.json"; |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
25 |
var config = { |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
26 |
gui:{ |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
27 |
width:650, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
28 |
height:2100, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
29 |
container:'LdtPlayer', |
| 810 | 30 |
default_options: { |
31 |
metadata:{ |
|
32 |
format:'cinelab', |
|
33 |
src:file, |
|
34 |
type:'json'} |
|
35 |
}, |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
36 |
css:'../../src/css/LdtPlayer.css', |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
37 |
widgets: [ |
| 810 | 38 |
{type: "PolemicWidget", |
|
524
a06527b99f22
the sparklineWidget height and width are now parametrable.
hamidouk
parents:
523
diff
changeset
|
39 |
width: 640, /* required for this widget */ |
| 810 | 40 |
height: 50, |
|
336
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
41 |
requires: [{ |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
42 |
type: "TooltipWidget", |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
43 |
width: 180, |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
44 |
heigh: 160, |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
45 |
}], |
| 810 | 46 |
}, |
47 |
{type: "SparklineWidget", |
|
48 |
width: 640, /* required for this widget */ |
|
49 |
height: 50}, |
|
|
815
44d34270541c
use polemic_fr instead of super-slow twitterized.json
hamidouk
parents:
811
diff
changeset
|
50 |
{type: "SliderWidget"}, |
| 810 | 51 |
{type: "PlayerWidget"}, |
52 |
{type: "SegmentsWidget", |
|
53 |
requires: [{ |
|
54 |
type: "TooltipWidget", |
|
55 |
width: 180, |
|
56 |
heigh: 160, |
|
57 |
}], |
|
| 537 | 58 |
}, |
| 810 | 59 |
{type: "SliceWidget"}, |
60 |
{type: "ArrowWidget"}, |
|
| 302 | 61 |
|
| 537 | 62 |
|
| 810 | 63 |
{type: "AnnotationsWidget"}, |
64 |
{type: "TweetsWidget"}, |
|
65 |
{type: "createAnnotationWidget"} |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
66 |
] |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
67 |
}, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
68 |
player:{ |
| 708 | 69 |
type:'jwplayer', // player type - |
70 |
live: true, |
|
71 |
height: 300, |
|
72 |
width: 640, |
|
73 |
provider: "rtmp" |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
74 |
}, |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
75 |
modules: [ |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
76 |
{ type: "MediaFragment", |
| 810 | 77 |
metadata:{ |
78 |
format:'cinelab', |
|
79 |
src:file, |
|
80 |
type:'json'} |
|
81 |
}] |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
82 |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
83 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
84 |
|
|
744
76400fd4ce70
changed the files to follow the simpler embed convention.
hamidouk
parents:
735
diff
changeset
|
85 |
IriSP.initPlayer(config, "polemic_fr.json"); |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
86 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
87 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
88 |
|
| 178 | 89 |
</body> |
| 585 | 90 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 91 |
</html> |