| author | veltr |
| Fri, 16 Mar 2012 19:31:26 +0100 | |
| branch | popcorn-port |
| changeset 833 | 33a5d5882be4 |
| parent 830 | 18ca612e9ff0 |
| child 835 | a8af9da7c622 |
| 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:{ |
| 833 | 28 |
width:640, |
|
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: [ |
| 833 | 39 |
/* {type: "PolemicWidget", |
40 |
width: 640, |
|
| 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 |
}], |
| 833 | 47 |
}, */ |
48 |
{type: "StackGraphWidget", |
|
49 |
height: 150, |
|
50 |
streamgraph: true, |
|
51 |
/* tags : [ |
|
52 |
{ |
|
53 |
"keywords" : [ "#ilReste" ], |
|
54 |
"description" : "#ilReste", |
|
55 |
"color" : "#1D973D" |
|
56 |
}, |
|
57 |
{ |
|
58 |
"keywords" : [ "#ilPart" ], |
|
59 |
"description" : "#ilPart", |
|
60 |
"color" : "#CE0A15" |
|
61 |
}, |
|
62 |
{ |
|
63 |
"keywords" : [ "#change2ton" ], |
|
64 |
"description" : "#change2ton", |
|
65 |
"color" : "#C5A62D" |
|
66 |
}, |
|
67 |
{ |
|
68 |
"keywords" : [ "#cQui" ], |
|
69 |
"description" : "#cQui", |
|
70 |
"color" : "#036AAE" |
|
71 |
} |
|
72 |
],*/ |
|
73 |
requires: [{ |
|
74 |
type: "TooltipWidget", |
|
75 |
width: 180, |
|
76 |
height: 160, |
|
77 |
}], |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
78 |
}, |
| 833 | 79 |
/* {type: "SparklineWidget", |
80 |
width: 640, |
|
81 |
height: 50}, */ |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
82 |
{type: "SliderWidget"}, |
| 810 | 83 |
{type: "PlayerWidget"}, |
84 |
{type: "SegmentsWidget", |
|
85 |
requires: [{ |
|
86 |
type: "TooltipWidget", |
|
87 |
width: 180, |
|
88 |
heigh: 160, |
|
89 |
}], |
|
| 537 | 90 |
}, |
| 810 | 91 |
{type: "SliceWidget"}, |
92 |
{type: "ArrowWidget"}, |
|
93 |
{type: "AnnotationsWidget"}, |
|
94 |
{type: "TweetsWidget"}, |
|
|
829
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
95 |
{type: "createAnnotationWidget"}, |
|
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
96 |
{type: "TagCloudWidget", |
| 830 | 97 |
excludeWords: ['#museoweb']}, |
| 833 | 98 |
{type: "AnnotationsListWidget", |
99 |
container: "AnnotationsListContainer", |
|
100 |
ajax_mode: false}, |
|
101 |
// {type: "TraceWidget"} |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
102 |
] |
|
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 |
player:{ |
| 708 | 105 |
type:'jwplayer', // player type - |
106 |
live: true, |
|
107 |
height: 300, |
|
108 |
width: 640, |
|
109 |
provider: "rtmp" |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
110 |
}, |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
111 |
modules: [ |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
112 |
{ type: "MediaFragment", |
| 810 | 113 |
metadata:{ |
114 |
format:'cinelab', |
|
115 |
src:file, |
|
116 |
type:'json'} |
|
117 |
}] |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
118 |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
119 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
120 |
|
| 833 | 121 |
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
|
122 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
123 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
124 |
|
| 178 | 125 |
</body> |
| 585 | 126 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 127 |
</html> |