Merge with popcorn-port to get default-options for the widgets. tweet-widget
authorhamidouk
Fri, 18 Nov 2011 11:01:13 +0100
branchtweet-widget
changeset 273 c32065f5e297
parent 271 41258988e132 (current diff)
parent 272 5284f337bd53 (diff)
child 274 fe02d003c6c4
Merge with popcorn-port to get default-options for the widgets.
--- a/src/js/site.js	Thu Nov 17 17:34:13 2011 +0100
+++ b/src/js/site.js	Fri Nov 18 11:01:13 2011 +0100
@@ -17,41 +17,9 @@
 
 //Player Configuration 
 IriSP.config = undefined;
-IriSP.configDefault = {
-		metadata:{
-			format:'cinelab',
-			src:'',
-			load:'jsonp'
-		},
-		gui:{
-			width:650,
-			height:0,
-			mode:'radio',
-			container:'LdtPlayer',
-			debug:false, 
-			css:'../src/css/LdtPlayer.css'
-		},
-		player:{
-			type:'jwplayer',
-			src:'../res/swf/player.swf',
-			params:{
-				allowfullscreen:"true", 
-				allowscriptaccess:"always",
-				wmode:"transparent"
-			},
-			flashvars:{
-				streamer:"streamer",
-				file:"file", 
-				live:"true",
-				autostart:"false",
-				controlbar:"none",
-				playerready:"IriSP.playerReady"
-			},
-			attributes:{
-				id:"Ldtplayer1",  
-				name:"Ldtplayer1"
-			}
-		},
-		module:null
+
+IriSP.widgetsDefaults = {
+  "PlayerWidget" : {},
+  "AnnotationsWidget": {}
 };