src/js/site.js
author hamidouk
Fri, 21 Oct 2011 17:27:04 +0200
branchpopcorn-port
changeset 123 58bb8ccea9a8
parent 55 a5440e1a18a8
child 236 6770c85c9e56
permissions -rw-r--r--
added a file for the init routines.
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
55
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
     3
/*
31
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     4
IriSP.lib = { 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     5
		jQuery:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     6
		jQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     7
		jQueryToolTip:"http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     8
		swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     9
		cssjQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    10
};
55
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    11
*/
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    12
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    13
IriSP.lib = { 
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    14
		jQuery:"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js",
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    15
		jQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.js",
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    16
		jQueryToolTip:"http://cdn.jquerytools.org/1.2.4/all/jquery.tools.min.js",
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    17
		swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    18
		cssjQueryUI:"http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css"
a5440e1a18a8 A bunch of changes to make the code use popcorn. Bumped the version of jwplayer
hamidouk
parents: 38
diff changeset
    19
};
31
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    20
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    21
//Player Configuration 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    22
IriSP.config = undefined;
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    23
IriSP.configDefault = {
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    24
		metadata:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    25
			format:'cinelab',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    26
			src:'',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    27
			load:'jsonp'
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    28
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    29
		gui:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    30
			width:650,
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    31
			height:0,
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    32
			mode:'radio',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    33
			container:'LdtPlayer',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    34
			debug:false, 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    35
			css:'../src/css/LdtPlayer.css'
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    36
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    37
		player:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    38
			type:'jwplayer',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    39
			src:'../res/swf/player.swf',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    40
			params:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    41
				allowfullscreen:"true", 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    42
				allowscriptaccess:"always",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    43
				wmode:"transparent"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    44
			},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    45
			flashvars:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    46
				streamer:"streamer",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    47
				file:"file", 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    48
				live:"true",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    49
				autostart:"false",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    50
				controlbar:"none",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    51
				playerready:"IriSP.playerReady"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    52
			},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    53
			attributes:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    54
				id:"Ldtplayer1",  
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    55
				name:"Ldtplayer1"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    56
			}
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    57
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    58
		module:null
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    59
};
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    60