|
1 IriSP.language = 'en'; |
|
2 |
|
3 IriSP.libFiles = { |
|
4 defaultDir : "js/libs/", |
|
5 inDefaultDir : { |
|
6 jQuery : "jquery.min.js", |
|
7 jQueryUI : "jquery-ui.min.js", |
|
8 jQueryToolTip : "jquery.tools.min.js", |
|
9 swfObject : "swfobject.js", |
|
10 cssjQueryUI : "jquery-ui.css", |
|
11 popcorn : "popcorn.js", |
|
12 jwplayer : "jwplayer.js", |
|
13 raphael : "raphael.js", |
|
14 "popcorn.mediafragment" : "popcorn.mediafragment.js", |
|
15 "popcorn.code" : "popcorn.code.js", |
|
16 "popcorn.jwplayer" : "popcorn.jwplayer.js", |
|
17 "popcorn.youtube" : "popcorn.youtube.js", |
|
18 "tracemanager" : "tracemanager.js" |
|
19 }, |
|
20 locations : { |
|
21 // use to define locations outside defautl_dir |
|
22 }, |
|
23 cdn : { |
|
24 jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.js", |
|
25 jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js", |
|
26 swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js", |
|
27 cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css" |
|
28 }, |
|
29 useCdn : false |
|
30 } |
|
31 |
|
32 IriSP.widgetsDefaults = { |
|
33 "LayoutManager" : { |
|
34 spacer_div_height : 0 |
|
35 }, |
|
36 "PlayerWidget" : { |
|
37 |
|
38 }, |
|
39 "AnnotationsWidget" : { |
|
40 "share_text" : "I'm watching " |
|
41 }, |
|
42 "TweetsWidget" : { |
|
43 default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png", |
|
44 tweet_display_period : 10000 // how long do we show a tweet ? |
|
45 }, |
|
46 "SliderWidget" : { |
|
47 minimize_period : 850 // how long does the slider stays maximized after the user leaves the zone ? |
|
48 }, |
|
49 "SegmentsWidget" : { |
|
50 cinecast_version : false |
|
51 }, |
|
52 "createAnnotationWidget" : { |
|
53 tags : [ |
|
54 { |
|
55 "id" : "digitalstudies", |
|
56 "meta" : { |
|
57 "description" : "#digital-studies" |
|
58 } |
|
59 }, |
|
60 { |
|
61 "id" : "amateur", |
|
62 "meta" : { |
|
63 "description" : "#amateur" |
|
64 }, |
|
65 } |
|
66 ], |
|
67 remote_tags : false, |
|
68 random_tags : false, |
|
69 show_from_field : false, |
|
70 polemic_mode : true, /* enable polemics ? */ |
|
71 polemics : [{ |
|
72 "className" : "positive", |
|
73 "keyword" : "++" |
|
74 }, { |
|
75 "className" : "negative", |
|
76 "keyword" : "--" |
|
77 }, { |
|
78 "className" : "reference", |
|
79 "keyword" : "==" |
|
80 }, { |
|
81 "className" : "question", |
|
82 "keyword" : "??" |
|
83 }], |
|
84 cinecast_version : false, /* put to false to enable the platform version, true for the festival cinecast one. */ |
|
85 |
|
86 /* where does the widget PUT the annotations - this is a mustache template. id refers to the id of the media ans is filled |
|
87 by the widget. |
|
88 */ |
|
89 api_endpoint_template : "", // platform_url + "/ldtplatform/api/ldt/annotations/{{id}}.json", |
|
90 api_method : "PUT" |
|
91 }, |
|
92 "SparklineWidget" : { |
|
93 lineColor : "#7492b4", |
|
94 fillColor : "#aeaeb8", |
|
95 lineWidth : 2 |
|
96 }, |
|
97 "AnnotationsListWidget" : { |
|
98 ajax_mode : true, /* use ajax to get information about the annotations. |
|
99 if set to false, only search in the annotations for the |
|
100 current project. */ |
|
101 /* the platform generates some funky urls. We replace them afterwards to point to the |
|
102 correct place - this setting will probably be overwritten by the platform |
|
103 implementers. |
|
104 Note that the player has to replace the variables between {{ and }} by its own values. |
|
105 */ |
|
106 ajax_url : "", //platform_url + "/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}", |
|
107 ajax_granularity : 10000, /* how much ms should we look before and after the current timecode */ |
|
108 default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png", |
|
109 project_url : "", //platform_url + "/ldtplatform/ldt/front/player/" |
|
110 /* the beginning of a link to the new front */ |
|
111 cinecast_version : false, |
|
112 refresh_interval : 10000 |
|
113 }, |
|
114 "StackGraphWidget" : { |
|
115 defaultcolor : "#585858", |
|
116 tags : [ |
|
117 { |
|
118 "keywords" : [ "++" ], |
|
119 "description" : "positif", |
|
120 "color" : "#1D973D" |
|
121 }, |
|
122 { |
|
123 "keywords" : [ "--" ], |
|
124 "description" : "negatif", |
|
125 "color" : "#CE0A15" |
|
126 }, |
|
127 { |
|
128 "keywords" : [ "==" ], |
|
129 "description" : "reference", |
|
130 "color" : "#C5A62D" |
|
131 }, |
|
132 { |
|
133 "keywords" : [ "??" ], |
|
134 "description" : "question", |
|
135 "color" : "#036AAE" |
|
136 } |
|
137 ], |
|
138 streamgraph : false |
|
139 } |
|
140 } |