| author | veltr |
| Fri, 09 Mar 2012 18:11:42 +0100 | |
| branch | popcorn-port |
| changeset 832 | 6397a2ca3a67 |
| parent 830 | 18ca612e9ff0 |
| child 833 | 33a5d5882be4 |
| 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> |
|
829
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
21 |
<div id="LdtPlayer"></div> |
|
213
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"> |
| 830 | 24 |
IriSP.jwplayer_swf_path = "../libs/player.swf"; |
|
815
44d34270541c
use polemic_fr instead of super-slow twitterized.json
hamidouk
parents:
811
diff
changeset
|
25 |
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
|
26 |
var config = { |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
27 |
gui:{ |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
28 |
width:650, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
29 |
height:800, |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
30 |
container:'LdtPlayer', |
| 810 | 31 |
default_options: { |
32 |
metadata:{ |
|
33 |
format:'cinelab', |
|
34 |
src:file, |
|
35 |
type:'json'} |
|
36 |
}, |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
37 |
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
|
38 |
widgets: [ |
| 810 | 39 |
{type: "PolemicWidget", |
|
524
a06527b99f22
the sparklineWidget height and width are now parametrable.
hamidouk
parents:
523
diff
changeset
|
40 |
width: 640, /* required for this widget */ |
| 810 | 41 |
height: 50, |
|
336
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
42 |
requires: [{ |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
43 |
type: "TooltipWidget", |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
44 |
width: 180, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
45 |
height: 160, |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
46 |
}], |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
47 |
}, |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
48 |
{type: "StackGraphWidget", |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
49 |
width: 640, /* required for this widget */ |
| 830 | 50 |
height: 50, |
51 |
streamgraph: true, |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
52 |
requires: [{ |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
53 |
type: "TooltipWidget", |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
54 |
width: 180, |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
55 |
height: 160, |
|
336
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
56 |
}], |
| 810 | 57 |
}, |
58 |
{type: "SparklineWidget", |
|
59 |
width: 640, /* required for this widget */ |
|
60 |
height: 50}, |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
61 |
{type: "SliderWidget"}, |
| 810 | 62 |
{type: "PlayerWidget"}, |
63 |
{type: "SegmentsWidget", |
|
64 |
requires: [{ |
|
65 |
type: "TooltipWidget", |
|
66 |
width: 180, |
|
67 |
heigh: 160, |
|
68 |
}], |
|
| 537 | 69 |
}, |
| 810 | 70 |
{type: "SliceWidget"}, |
71 |
{type: "ArrowWidget"}, |
|
72 |
{type: "AnnotationsWidget"}, |
|
73 |
{type: "TweetsWidget"}, |
|
|
829
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
74 |
{type: "createAnnotationWidget"}, |
|
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
75 |
{type: "TagCloudWidget", |
| 830 | 76 |
excludeWords: ['#museoweb']}, |
77 |
{type: "AnnotationsListWidget"}, |
|
78 |
{type: "TraceWidget"} |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
79 |
] |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
80 |
}, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
81 |
player:{ |
| 708 | 82 |
type:'jwplayer', // player type - |
83 |
live: true, |
|
84 |
height: 300, |
|
85 |
width: 640, |
|
86 |
provider: "rtmp" |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
87 |
}, |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
88 |
modules: [ |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
89 |
{ type: "MediaFragment", |
| 810 | 90 |
metadata:{ |
91 |
format:'cinelab', |
|
92 |
src:file, |
|
93 |
type:'json'} |
|
94 |
}] |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
95 |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
96 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
97 |
|
|
744
76400fd4ce70
changed the files to follow the simpler embed convention.
hamidouk
parents:
735
diff
changeset
|
98 |
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
|
99 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
100 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
101 |
|
| 178 | 102 |
</body> |
| 585 | 103 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 104 |
</html> |