| author | hamidouk |
| Mon, 14 Nov 2011 17:19:26 +0100 | |
| branch | require-js |
| changeset 238 | 6008172a0592 |
| parent 236 | 6770c85c9e56 |
| permissions | -rw-r--r-- |
| 31 | 1 |
/* site.js - all our site-dependent config : player chrome, cdn locations, etc...*/ |
2 |
||
|
238
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
3 |
define(["IriSP"], function() { |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
4 |
IriSP.lib = { |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
5 |
jQuery : "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
6 |
jQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
7 |
jQueryToolTip : "http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
8 |
swfObject : "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
9 |
cssjQueryUI : "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
10 |
popcorn : "src/js/libs/popcorn.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
11 |
jwplayer : "src/js/libs/jwplayer.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
12 |
"popcorn.mediafragment" : "src/js/libs/popcorn.mediafragment.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
13 |
"popcorn.code" : "src/js/libs/popcorn.code.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
14 |
"popcorn.jwplayer": "src/js/libs/popcorn.jwplayer.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
15 |
"popcorn.youtube": "src/js/libs/popcorn.youtube.js", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
16 |
raphael: "src/js/libs/raphael.js" |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
17 |
}; |
| 31 | 18 |
|
|
238
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
19 |
//Player Configuration |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
20 |
IriSP.config = undefined; |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
21 |
IriSP.configDefault = { |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
22 |
metadata:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
23 |
format:'cinelab', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
24 |
src:'', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
25 |
load:'jsonp' |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
26 |
}, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
27 |
gui:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
28 |
width:650, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
29 |
height:0, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
30 |
mode:'radio', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
31 |
container:'LdtPlayer', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
32 |
debug:false, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
33 |
css:'../src/css/LdtPlayer.css' |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
34 |
}, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
35 |
player:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
36 |
type:'jwplayer', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
37 |
src:'../res/swf/player.swf', |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
38 |
params:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
39 |
allowfullscreen:"true", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
40 |
allowscriptaccess:"always", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
41 |
wmode:"transparent" |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
42 |
}, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
43 |
flashvars:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
44 |
streamer:"streamer", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
45 |
file:"file", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
46 |
live:"true", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
47 |
autostart:"false", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
48 |
controlbar:"none", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
49 |
playerready:"IriSP.playerReady" |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
50 |
}, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
51 |
attributes:{ |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
52 |
id:"Ldtplayer1", |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
53 |
name:"Ldtplayer1" |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
54 |
} |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
55 |
}, |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
56 |
module:null |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
57 |
}; |
|
6008172a0592
converted all the source files to use the require.js syntax.
hamidouk
parents:
236
diff
changeset
|
58 |
}); |