| author | veltr |
| Mon, 23 Apr 2012 19:11:08 +0200 | |
| branch | new-model |
| changeset 875 | 43629caa77bc |
| parent 874 | 38b65761a7d5 |
| child 882 | 61c384dda19e |
| permissions | -rw-r--r-- |
| 842 | 1 |
IriSP.language = 'en'; |
2 |
||
3 |
IriSP.libFiles = { |
|
4 |
defaultDir : "js/libs/", |
|
5 |
inDefaultDir : { |
|
|
875
43629caa77bc
Big refactoring of widget files + started migration of segmentwidget
veltr
parents:
874
diff
changeset
|
6 |
underscore : "underscore.js", |
|
43629caa77bc
Big refactoring of widget files + started migration of segmentwidget
veltr
parents:
874
diff
changeset
|
7 |
Mustache : "mustache.js", |
| 842 | 8 |
jQuery : "jquery.min.js", |
9 |
jQueryUI : "jquery-ui.min.js", |
|
10 |
swfObject : "swfobject.js", |
|
11 |
cssjQueryUI : "jquery-ui.css", |
|
12 |
popcorn : "popcorn.js", |
|
13 |
jwplayer : "jwplayer.js", |
|
14 |
raphael : "raphael.js", |
|
15 |
"popcorn.mediafragment" : "popcorn.mediafragment.js", |
|
16 |
"popcorn.code" : "popcorn.code.js", |
|
17 |
"popcorn.jwplayer" : "popcorn.jwplayer.js", |
|
18 |
"popcorn.youtube" : "popcorn.youtube.js", |
|
19 |
"tracemanager" : "tracemanager.js" |
|
20 |
}, |
|
21 |
locations : { |
|
22 |
// use to define locations outside defautl_dir |
|
23 |
}, |
|
24 |
cdn : { |
|
25 |
jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.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 |
||
|
875
43629caa77bc
Big refactoring of widget files + started migration of segmentwidget
veltr
parents:
874
diff
changeset
|
32 |
IriSP.widgetsDir = 'widgets'; |
|
43629caa77bc
Big refactoring of widget files + started migration of segmentwidget
veltr
parents:
874
diff
changeset
|
33 |
|
| 868 | 34 |
IriSP.guiDefaults = { |
35 |
width : 640, |
|
36 |
container : 'LdtPlayer', |
|
37 |
spacer_div_height : 0 |
|
38 |
} |
|
39 |
||
| 842 | 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, |
|
| 852 | 69 |
disable_share : false, |
| 842 | 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" : { |
|
|
872
d777d05a16e4
finished AnnotationsList and started New PolemicWidget
veltr
parents:
870
diff
changeset
|
93 |
defaultcolor : "#585858", |
|
d777d05a16e4
finished AnnotationsList and started New PolemicWidget
veltr
parents:
870
diff
changeset
|
94 |
tags : [ |
| 842 | 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 |
} |