| author | veltr |
| Wed, 18 Apr 2012 18:58:44 +0200 | |
| branch | new-model |
| changeset 870 | 2c025db10a10 |
| parent 868 | a525cc2214e7 |
| child 872 | d777d05a16e4 |
| 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"; |
| 868 | 26 |
var _metadata = { |
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
27 |
url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?', |
| 868 | 28 |
format: 'ldt' |
29 |
}; |
|
30 |
var _config = { |
|
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
31 |
gui: { |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
32 |
width:640, |
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
33 |
height:800, |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
34 |
container:'LdtPlayer', |
| 810 | 35 |
default_options: { |
| 868 | 36 |
metadata: _metadata |
| 810 | 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 |
}], |
| 866 | 48 |
}, |
| 833 | 49 |
{type: "StackGraphWidget", |
50 |
height: 150, |
|
51 |
streamgraph: true, |
|
52 |
requires: [{ |
|
53 |
type: "TooltipWidget", |
|
54 |
width: 180, |
|
55 |
height: 160, |
|
56 |
}], |
|
|
827
1dc2f85c3b89
BUGFIX: Tooltips are now positioned relative to their parent widget.
veltr
parents:
815
diff
changeset
|
57 |
}, |
| 835 | 58 |
{type: "SparklineWidget", |
| 833 | 59 |
width: 640, |
| 835 | 60 |
height: 50}, |
| 810 | 61 |
{type: "PlayerWidget"}, |
62 |
{type: "SegmentsWidget", |
|
63 |
requires: [{ |
|
64 |
type: "TooltipWidget", |
|
65 |
width: 180, |
|
66 |
heigh: 160, |
|
67 |
}], |
|
| 537 | 68 |
}, |
| 810 | 69 |
{type: "SliceWidget"}, |
70 |
{type: "ArrowWidget"}, |
|
71 |
{type: "AnnotationsWidget"}, |
|
72 |
{type: "TweetsWidget"}, |
|
|
829
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
73 |
{type: "createAnnotationWidget"}, |
|
ae16691d183d
Corrected segments widget, added excludePattern option to tagcloud widget
veltr
parents:
827
diff
changeset
|
74 |
{type: "TagCloudWidget", |
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
75 |
excludeWords: ['#museoweb']},, */ |
| 833 | 76 |
// {type: "TraceWidget"} |
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
77 |
{ |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
78 |
type: "PlayerWidget" |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
79 |
}, |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
80 |
{ |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
81 |
type: "HelloWorldWidget" |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
82 |
}, |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
83 |
{ |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
84 |
type: "AnnotationsListWidget", |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
85 |
/* ajax_url : "http://ldt.iri.centrepompidou.fr/ldt/api/ldt/segments/{{media}}/{{begin}}/{{end}}", */ |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
86 |
container: "AnnotationsListContainer" |
|
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
87 |
} |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
88 |
] |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
89 |
}, |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
90 |
player:{ |
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
91 |
type:'jwplayer', // player type |
| 708 | 92 |
live: true, |
93 |
height: 300, |
|
94 |
width: 640, |
|
95 |
provider: "rtmp" |
|
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
96 |
}, |
|
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
97 |
modules: [ |
| 866 | 98 |
/* { type: "MediaFragment", |
| 810 | 99 |
metadata:{ |
100 |
format:'cinelab', |
|
101 |
src:file, |
|
102 |
type:'json'} |
|
| 866 | 103 |
}*/] |
|
465
daa60afb3a50
added mediafragment module to the polemic tweet example.
hamidouk
parents:
453
diff
changeset
|
104 |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
105 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
106 |
|
| 868 | 107 |
var _myPlayer = new IriSP.Metadataplayer(_config, _metadata); |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
108 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
109 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
110 |
|
| 178 | 111 |
</body> |
| 585 | 112 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 113 |
</html> |