| author | hamidouk |
| Mon, 21 Nov 2011 15:15:39 +0100 | |
| branch | popcorn-port |
| changeset 292 | 31773b5deb26 |
| parent 288 | 25fe0c8831de |
| child 364 | eb9977188c7d |
| permissions | -rw-r--r-- |
| 31 | 1 |
/* site.js - all our site-dependent config : player chrome, cdn locations, etc...*/ |
2 |
||
3 |
IriSP.lib = { |
|
|
236
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
4 |
jQuery : "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
5 |
jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
6 |
jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
7 |
swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
8 |
cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
9 |
popcorn : "src/js/libs/popcorn.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
10 |
jwplayer : "src/js/libs/jwplayer.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
11 |
"popcorn.mediafragment" : "src/js/libs/popcorn.mediafragment.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
12 |
"popcorn.code" : "src/js/libs/popcorn.code.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
13 |
"popcorn.jwplayer": "src/js/libs/popcorn.jwplayer.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
14 |
"popcorn.youtube": "src/js/libs/popcorn.youtube.js", |
|
6770c85c9e56
put in a single place the sources from where we load our js scripts.
hamidouk
parents:
55
diff
changeset
|
15 |
raphael: "src/js/libs/raphael.js" |
|
55
a5440e1a18a8
A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents:
38
diff
changeset
|
16 |
}; |
| 31 | 17 |
|
18 |
//Player Configuration |
|
19 |
IriSP.config = undefined; |
|
|
272
5284f337bd53
added an object to configure the default values of the widgets.
hamidouk
parents:
236
diff
changeset
|
20 |
|
|
5284f337bd53
added an object to configure the default values of the widgets.
hamidouk
parents:
236
diff
changeset
|
21 |
IriSP.widgetsDefaults = { |
|
288
25fe0c8831de
made the spacer height configurable. set to 0 by default.
hamidouk
parents:
282
diff
changeset
|
22 |
"LayoutManager" : {spacer_div_height : "0px" }, |
|
272
5284f337bd53
added an object to configure the default values of the widgets.
hamidouk
parents:
236
diff
changeset
|
23 |
"PlayerWidget" : {}, |
|
274
fe02d003c6c4
added support for a default profile picture in case it's not defined.
hamidouk
parents:
272
diff
changeset
|
24 |
"AnnotationsWidget": {}, |
|
fe02d003c6c4
added support for a default profile picture in case it's not defined.
hamidouk
parents:
272
diff
changeset
|
25 |
"TweetsWidget" : { |
|
292
31773b5deb26
changed the size of default_profile_picture for a twitter account.
hamidouk
parents:
288
diff
changeset
|
26 |
default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png", |
|
282
1001234e5e6e
added a var to configure the num of seconds to display the tweet.
hamidouk
parents:
274
diff
changeset
|
27 |
tweet_display_period: 10000 // how long do we show a tweet ? |
|
274
fe02d003c6c4
added support for a default profile picture in case it's not defined.
hamidouk
parents:
272
diff
changeset
|
28 |
} |
| 31 | 29 |
}; |
30 |