| author | veltr |
| Thu, 03 May 2012 17:52:52 +0200 | |
| branch | new-model |
| changeset 882 | 61c384dda19e |
| parent 880 | test/integration/polemic.htm@4c7b33bf2795 |
| 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 --> |
|
| 882 | 18 |
<script type="text/javascript" src="../build/LdtPlayer-core.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"> |
| 882 | 24 |
IriSP.libFiles.defaultDir = "../src/js/libs/"; |
25 |
IriSP.widgetsDir = "../src/widgets" |
|
26 |
IriSP.jwplayer_swf_path = "player.swf"; |
|
| 868 | 27 |
var _metadata = { |
| 880 | 28 |
url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?', |
| 868 | 29 |
format: 'ldt' |
30 |
}; |
|
31 |
var _config = { |
|
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
32 |
gui: { |
| 882 | 33 |
width:620, |
| 876 | 34 |
height:800, |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
35 |
container:'LdtPlayer', |
| 810 | 36 |
default_options: { |
| 868 | 37 |
metadata: _metadata |
| 810 | 38 |
}, |
| 882 | 39 |
css:'../src/css/LdtPlayer-core.css', |
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
40 |
widgets: [ |
| 882 | 41 |
{ type: "Sparkline" }, |
42 |
{ type: "Slider" }, |
|
43 |
{ type: "Controller" }, |
|
44 |
{ type: "Polemic" }, |
|
45 |
{ type: "Segments" }, |
|
46 |
{ type: "Slice" }, |
|
47 |
{ type: "Arrow" }, |
|
48 |
{ type: "Annotation" }, |
|
49 |
{ type: "Tweet" }, |
|
50 |
{ type: "Tagcloud" }, |
|
| 880 | 51 |
{ |
|
875
43629caa77bc
Big refactoring of widget files + started migration of segmentwidget
veltr
parents:
874
diff
changeset
|
52 |
type: "AnnotationsList", |
| 876 | 53 |
//ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
| 882 | 54 |
//foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
|
870
2c025db10a10
Migrated playerWidget and started annotationsListWidget
veltr
parents:
868
diff
changeset
|
55 |
container: "AnnotationsListContainer" |
| 880 | 56 |
}, |
| 882 | 57 |
{ type: "Mediafragment"}, |
58 |
/* { |
|
59 |
type: "Trace", |
|
60 |
js_console: true |
|
61 |
} |
|
62 |
*/ ] |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
63 |
}, |
| 882 | 64 |
player:{ |
65 |
type:'jwplayer', // player type |
|
66 |
live: true, |
|
67 |
height: 300, |
|
68 |
width: 620, |
|
69 |
provider: "rtmp" |
|
70 |
} |
|
|
213
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
71 |
}; |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
72 |
|
| 868 | 73 |
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
|
74 |
</script> |
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
75 |
|
|
d65dafb9273d
changed tab to space and added a couple of lines for samuel's keynote.
hamidouk
parents:
208
diff
changeset
|
76 |
|
| 178 | 77 |
</body> |
| 585 | 78 |
<div id="AnnotationsListContainer" style="position: absolute; width: 400px; left: 660px; top: 105px;"></div> |
| 302 | 79 |
</html> |