1 IriSP.language = 'en'; |
1 IriSP.language = 'en'; |
2 |
2 |
3 IriSP.libFiles = { |
3 IriSP.libFiles = { |
4 defaultDir : "js/libs/", |
4 defaultDir : "js/libs/", |
5 inDefaultDir : { |
5 inDefaultDir : { |
6 underscore : "underscore.js", |
6 underscore : "underscore-min.js", |
7 Mustache : "mustache.js", |
7 Mustache : "mustache.js", |
8 jQuery : "jquery.min.js", |
8 jQuery : "jquery.min.js", |
9 jQueryUI : "jquery-ui.min.js", |
9 jQueryUI : "jquery-ui.min.js", |
10 swfObject : "swfobject.js", |
10 swfObject : "swfobject.js", |
11 cssjQueryUI : "jquery-ui.css", |
11 cssjQueryUI : "jquery-ui.css", |
12 popcorn : "popcorn.js", |
12 popcorn : "popcorn.js", |
13 jwplayer : "jwplayer.js", |
13 jwplayer : "jwplayer.js", |
14 raphael : "raphael.js", |
14 raphael : "raphael-min.js", |
15 "popcorn.mediafragment" : "popcorn.mediafragment.js", |
15 "popcorn.mediafragment" : "popcorn.mediafragment.js", |
16 "popcorn.code" : "popcorn.code.js", |
16 "popcorn.code" : "popcorn.code.js", |
17 "popcorn.jwplayer" : "popcorn.jwplayer.js", |
17 "popcorn.jwplayer" : "popcorn.jwplayer.js", |
18 "popcorn.youtube" : "popcorn.youtube.js", |
18 "popcorn.youtube" : "popcorn.youtube.js", |
19 "tracemanager" : "tracemanager.js" |
19 tracemanager : "tracemanager.js" |
20 }, |
20 }, |
21 locations : { |
21 locations : { |
22 // use to define locations outside defautl_dir |
22 // use to define locations outside defautl_dir |
23 }, |
23 }, |
24 cdn : { |
24 cdn : { |
29 useCdn : false |
29 useCdn : false |
30 } |
30 } |
31 |
31 |
32 IriSP.widgetsDir = 'widgets'; |
32 IriSP.widgetsDir = 'widgets'; |
33 |
33 |
|
34 IriSP.widgetsRequirements = { |
|
35 Sparkline: { |
|
36 noCss: true, |
|
37 requires: "raphael" |
|
38 }, |
|
39 Arrow: { |
|
40 noCss: true, |
|
41 requires: "raphael" |
|
42 }, |
|
43 Mediafragment: { |
|
44 noCss: true |
|
45 }, |
|
46 Trace : { |
|
47 noCss: true, |
|
48 requires: "tracemanager" |
|
49 } |
|
50 } |
|
51 |
34 IriSP.guiDefaults = { |
52 IriSP.guiDefaults = { |
35 width : 640, |
53 width : 640, |
36 container : 'LdtPlayer', |
54 container : 'LdtPlayer', |
37 spacer_div_height : 0 |
55 spacer_div_height : 0 |
38 } |
56 } |
39 |
|
40 IriSP.widgetsDefaults = { |
|
41 "AnnotationsWidget" : { |
|
42 "share_text" : "I'm watching " |
|
43 }, |
|
44 "TweetsWidget" : { |
|
45 default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png", |
|
46 tweet_display_period : 10000 // how long do we show a tweet ? |
|
47 }, |
|
48 "SegmentsWidget" : { |
|
49 cinecast_version : false |
|
50 }, |
|
51 "createAnnotationWidget" : { |
|
52 tags : [ |
|
53 { |
|
54 "id" : "digitalstudies", |
|
55 "meta" : { |
|
56 "description" : "#digital-studies" |
|
57 } |
|
58 }, |
|
59 { |
|
60 "id" : "amateur", |
|
61 "meta" : { |
|
62 "description" : "#amateur" |
|
63 }, |
|
64 } |
|
65 ], |
|
66 remote_tags : false, |
|
67 random_tags : false, |
|
68 show_from_field : false, |
|
69 disable_share : 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 "StackGraphWidget" : { |
|
93 defaultcolor : "#585858", |
|
94 tags : [ |
|
95 { |
|
96 "keywords" : [ "++" ], |
|
97 "description" : "positif", |
|
98 "color" : "#1D973D" |
|
99 }, |
|
100 { |
|
101 "keywords" : [ "--" ], |
|
102 "description" : "negatif", |
|
103 "color" : "#CE0A15" |
|
104 }, |
|
105 { |
|
106 "keywords" : [ "==" ], |
|
107 "description" : "reference", |
|
108 "color" : "#C5A62D" |
|
109 }, |
|
110 { |
|
111 "keywords" : [ "??" ], |
|
112 "description" : "question", |
|
113 "color" : "#036AAE" |
|
114 } |
|
115 ], |
|
116 streamgraph : false |
|
117 } |
|
118 } |
|