src/js/site.js
author hamidouk
Fri, 18 Nov 2011 11:00:06 +0100
branchpopcorn-port
changeset 272 5284f337bd53
parent 236 6770c85c9e56
child 274 fe02d003c6c4
permissions -rw-r--r--
added an object to configure the default values of the widgets.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     1
/* site.js - all our site-dependent config : player chrome, cdn locations, etc...*/
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     2
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     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
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    17
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    18
//Player Configuration 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    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 = {
5284f337bd53 added an object to configure the default values of the widgets.
hamidouk
parents: 236
diff changeset
    22
  "PlayerWidget" : {},
5284f337bd53 added an object to configure the default values of the widgets.
hamidouk
parents: 236
diff changeset
    23
  "AnnotationsWidget": {}
31
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    24
};
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    25