23 <script type="text/javascript"> |
23 <script type="text/javascript"> |
24 IriSP.jwplayer_swf_path = "../libs/player.swf"; |
24 IriSP.jwplayer_swf_path = "../libs/player.swf"; |
25 var file = "polemic_fr.json"; |
25 var file = "polemic_fr.json"; |
26 var config = { |
26 var config = { |
27 gui:{ |
27 gui:{ |
28 width:650, |
28 width:640, |
29 height:800, |
29 height:800, |
30 container:'LdtPlayer', |
30 container:'LdtPlayer', |
31 default_options: { |
31 default_options: { |
32 metadata:{ |
32 metadata:{ |
33 format:'cinelab', |
33 format:'cinelab', |
34 src:file, |
34 src:file, |
35 type:'json'} |
35 type:'json'} |
36 }, |
36 }, |
37 css:'../../src/css/LdtPlayer.css', |
37 css:'../../src/css/LdtPlayer.css', |
38 widgets: [ |
38 widgets: [ |
39 {type: "PolemicWidget", |
39 /* {type: "PolemicWidget", |
40 width: 640, /* required for this widget */ |
40 width: 640, |
41 height: 50, |
41 height: 50, |
42 requires: [{ |
42 requires: [{ |
43 type: "TooltipWidget", |
43 type: "TooltipWidget", |
44 width: 180, |
44 width: 180, |
45 height: 160, |
45 height: 160, |
46 }], |
46 }], |
|
47 }, */ |
|
48 {type: "StackGraphWidget", |
|
49 height: 150, |
|
50 streamgraph: true, |
|
51 /* tags : [ |
|
52 { |
|
53 "keywords" : [ "#ilReste" ], |
|
54 "description" : "#ilReste", |
|
55 "color" : "#1D973D" |
47 }, |
56 }, |
48 {type: "StackGraphWidget", |
57 { |
49 width: 640, /* required for this widget */ |
58 "keywords" : [ "#ilPart" ], |
50 height: 50, |
59 "description" : "#ilPart", |
51 streamgraph: true, |
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 ],*/ |
52 requires: [{ |
73 requires: [{ |
53 type: "TooltipWidget", |
74 type: "TooltipWidget", |
54 width: 180, |
75 width: 180, |
55 height: 160, |
76 height: 160, |
56 }], |
77 }], |
57 }, |
78 }, |
58 {type: "SparklineWidget", |
79 /* {type: "SparklineWidget", |
59 width: 640, /* required for this widget */ |
80 width: 640, |
60 height: 50}, |
81 height: 50}, */ |
61 {type: "SliderWidget"}, |
82 {type: "SliderWidget"}, |
62 {type: "PlayerWidget"}, |
83 {type: "PlayerWidget"}, |
63 {type: "SegmentsWidget", |
84 {type: "SegmentsWidget", |
64 requires: [{ |
85 requires: [{ |
65 type: "TooltipWidget", |
86 type: "TooltipWidget", |
72 {type: "AnnotationsWidget"}, |
93 {type: "AnnotationsWidget"}, |
73 {type: "TweetsWidget"}, |
94 {type: "TweetsWidget"}, |
74 {type: "createAnnotationWidget"}, |
95 {type: "createAnnotationWidget"}, |
75 {type: "TagCloudWidget", |
96 {type: "TagCloudWidget", |
76 excludeWords: ['#museoweb']}, |
97 excludeWords: ['#museoweb']}, |
77 {type: "AnnotationsListWidget"}, |
98 {type: "AnnotationsListWidget", |
78 {type: "TraceWidget"} |
99 container: "AnnotationsListContainer", |
|
100 ajax_mode: false}, |
|
101 // {type: "TraceWidget"} |
79 ] |
102 ] |
80 }, |
103 }, |
81 player:{ |
104 player:{ |
82 type:'jwplayer', // player type - |
105 type:'jwplayer', // player type - |
83 live: true, |
106 live: true, |