# HG changeset patch # User hamidouk # Date 1321610473 -3600 # Node ID c32065f5e297c71936e3867c88218890ed820c94 # Parent 41258988e132d2799b0963ea6441b601611ead90# Parent 5284f337bd53a3cdeef05c8e4b74b43a12cfdbe1 Merge with popcorn-port to get default-options for the widgets. diff -r 41258988e132 -r c32065f5e297 src/js/site.js --- 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": {} };