src/js/widgets/playerWidget.js
branchpopcorn-port
changeset 831 0dd21c298380
parent 830 18ca612e9ff0
child 837 353a78021ebc
--- a/src/js/widgets/playerWidget.js	Thu Mar 08 18:38:46 2012 +0100
+++ b/src/js/widgets/playerWidget.js	Fri Mar 09 17:29:23 2012 +0100
@@ -13,7 +13,7 @@
 	var height = this.height;
 	var heightS = this.height-20;
 	  
-	var playerTempl = IriSP.templToHTML(IriSP.player_template, {"share_template" : IriSP.share_template});
+	var playerTempl = IriSP.templToHTML(IriSP.player_template, this._config);
   this.selector.append(playerTempl);		
 	
   this.selector.children(".Ldt-controler").show();
@@ -39,8 +39,6 @@
   this.selector.find(".Ldt-CtrlSearch").click(function() { self.searchButtonHandler.call(self); });
   
   this.selector.find('.Ldt-CtrlSound').click(function() { self.muteHandler.call(self); } );
-
-  this.selector.find(".Ldt-CtrlPlay").attr( "style", "background-color:#CD21C24;" );
   
   /*
   var searchButtonPos = this.selector.find(".Ldt-CtrlSearch").position();