src/js/site.js
author hamidouk
Mon, 12 Sep 2011 17:26:40 +0200
changeset 39 4b8c52e11a13
parent 38 94899a565089
child 55 a5440e1a18a8
permissions -rw-r--r--
a small templating engine.
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 = { 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     4
		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
     5
		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
     6
		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
     7
		swfObject:"http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
     8
		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
     9
};
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    10
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    11
//Player Configuration 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    12
IriSP.config = undefined;
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    13
IriSP.configDefault = {
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    14
		metadata:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    15
			format:'cinelab',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    16
			src:'',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    17
			load:'jsonp'
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    18
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    19
		gui:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    20
			width:650,
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    21
			height:0,
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    22
			mode:'radio',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    23
			container:'LdtPlayer',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    24
			debug:false, 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    25
			css:'../src/css/LdtPlayer.css'
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    26
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    27
		player:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    28
			type:'jwplayer',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    29
			src:'../res/swf/player.swf',
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    30
			params:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    31
				allowfullscreen:"true", 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    32
				allowscriptaccess:"always",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    33
				wmode:"transparent"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    34
			},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    35
			flashvars:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    36
				streamer:"streamer",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    37
				file:"file", 
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    38
				live:"true",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    39
				autostart:"false",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    40
				controlbar:"none",
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    41
				playerready:"IriSP.playerReady"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    42
			},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    43
			attributes:{
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    44
				id:"Ldtplayer1",  
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    45
				name:"Ldtplayer1"
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    46
			}
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    47
		},
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    48
		module:null
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    49
};
cbb1425bc769 begun breaking the code across multiple files.
hamidouk
parents:
diff changeset
    50