| author | veltr |
| Fri, 06 Apr 2012 16:49:32 +0200 | |
| branch | popcorn-port |
| changeset 842 | 4ae2247a59f4 |
| parent 835 | a8af9da7c622 |
| child 866 | 3bf7aa8216e5 |
| 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"> |
| 842 | 24 |
IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/"; |
| 830 | 25 |
IriSP.jwplayer_swf_path = "../libs/player.swf"; |
|
815
44d34270541c
use polemic_fr instead of super-slow twitterized.json
hamidouk
parents:
811
diff
changeset
|
26 |
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
|
27 |
var config = { |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
28 |
gui:{ |
| 833 | 29 |
width:640, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
30 |
height:800, |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
31 |
container:'LdtPlayer', |
| 810 | 32 |
default_options: { |
33 |
metadata:{ |
|
34 |
format:'cinelab', |
|
35 |
src:file, |
|
36 |
type:'json'} |
|
37 |
}, |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
38 |
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
|
39 |
widgets: [ |
| 833 | 40 |
/* {type: "PolemicWidget", |
41 |
width: 640, |
|
| 810 | 42 |
height: 50, |
|
336
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
43 |
requires: [{ |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
44 |
type: "TooltipWidget", |
|
8da13562cfea
segmentsWidget now uses the TooltipWidget instead of the jQuerytools tooltip.
hamidouk
parents:
302
diff
changeset
|
45 |
width: 180, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
46 |
height: 160, |
|
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
47 |
}], |
| 833 | 48 |
}, */ |
49 |
{type: "StackGraphWidget", |
|
50 |
height: 150, |
|
51 |
streamgraph: true, |
|
52 |
/* tags : [ |
|
53 |
{ |
|
54 |
"keywords" : [ "#ilReste" ], |
|
55 |
"description" : "#ilReste", |
|
56 |
"color" : "#1D973D" |
|
57 |
}, |
|
58 |
{ |
|
59 |
"keywords" : [ "#ilPart" ], |
|
60 |
"description" : "#ilPart", |
|
61 |
"color" : "#CE0A15" |
|
62 |
}, |
|
63 |
{ |
|
64 |
"keywords" : [ "#change2ton" ], |
|
65 |
"description" : "#change2ton", |
|
66 |
"color" : "#C5A62D" |
|
67 |
}, |
|
68 |
{ |
|
69 |
"keywords" : [ "#cQui" ], |
|
70 |
"description" : "#cQui", |
|
71 |
"color" : "#036AAE" |
|
72 |
} |
|
73 |
],*/ |
|
74 |
requires: [{ |
|
75 |
type: "TooltipWidget", |
|
76 |
width: 180, |
|
77 |
height: 160, |
|
78 |
}], |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
79 |
}, |
| 835 | 80 |
{type: "SparklineWidget", |
| 833 | 81 |
width: 640, |
| 835 | 82 |
height: 50}, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
83 |
{type: "SliderWidget"}, |
| 810 | 84 |
{type: "PlayerWidget"}, |
85 |
{type: "SegmentsWidget", |
|
86 |
requires: [{ |
|
87 |
type: "TooltipWidget", |
|
88 |
width: 180, |
|
89 |
heigh: 160, |
|
90 |
}], |
|
| 537 | 91 |
}, |
| 810 | 92 |
{type: "SliceWidget"}, |
93 |
{type: "ArrowWidget"}, |
|
94 |
{type: "AnnotationsWidget"}, |
|
95 |
{type: "TweetsWidget"}, |
|
|
829
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
96 |
{type: "createAnnotationWidget"}, |
|
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
97 |
{type: "TagCloudWidget", |
| 830 | 98 |
excludeWords: ['#museoweb']}, |
| 833 | 99 |
{type: "AnnotationsListWidget", |
100 |
container: "AnnotationsListContainer", |
|
101 |
ajax_mode: false}, |
|
102 |
// {type: "TraceWidget"} |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
103 |
] |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
104 |
}, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
105 |
player:{ |
| 708 | 106 |
type:'jwplayer', // player type - |
107 |
live: true, |
|
108 |
height: 300, |
|
109 |
width: 640, |
|
110 |
provider: "rtmp" |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
111 |
}, |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
112 |
modules: [ |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
113 |
{ type: "MediaFragment", |
| 810 | 114 |
metadata:{ |
115 |
format:'cinelab', |
|
116 |
src:file, |
|
117 |
type:'json'} |
|
118 |
}] |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
119 |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
120 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
121 |
|
| 833 | 122 |
IriSP.initPlayer(config, file); |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
123 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
124 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
125 |
|
| 178 | 126 |
</body> |
| 585 | 127 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 128 |
</html> |