[pLog-svn] r5427 - plog/branches/lifetype-1.2/js/ui

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue May 22 09:44:08 EDT 2007


Author: oscar
Date: 2007-05-22 09:44:07 -0400 (Tue, 22 May 2007)
New Revision: 5427

Modified:
   plog/branches/lifetype-1.2/js/ui/common.js
Log:
Fix for issue 1311 (http://bugs.lifetype.net/view.php?id=1311) -- the mp3 player should be working fine again in IE (I should have remembered that as much as it hurts me, the web doesn't end with Safari, Firefox and Opera...)


Modified: plog/branches/lifetype-1.2/js/ui/common.js
===================================================================
--- plog/branches/lifetype-1.2/js/ui/common.js	2007-05-22 07:43:00 UTC (rev 5426)
+++ plog/branches/lifetype-1.2/js/ui/common.js	2007-05-22 13:44:07 UTC (rev 5427)
@@ -362,11 +362,13 @@
  */
 function getFlashPlayerHTML( url ) 
 {
-	var htmlCode = "<object data=\"" + plogBaseUrl + "/flash/mp3player/mp3player.swf\" type=\"application/x-shockwave-flash\" width=\"320\" height=\"20\" class=\"ltPlayer\">"+
+    var playerUrl = plogBaseUrl + "/flash/mp3player/mp3player.swf";
+	var htmlCode = "<object data=\"" + playerUrl + "\" type=\"application/x-shockwave-flash\" width=\"320\" height=\"20\" class=\"ltPlayer\">"+
 		"<param name=\"quality\" value=\"best\" />"+
 		"<param name=\"bgcolor\" value=\"#FFFFFF\" />" +
+        "<param name=\"movie\" value=\"" + playerUrl + "\" />" +
 		"<param name=\"FlashVars\" value=\"&file="+ url + "&height=20&width=320\" />" +
     	"</object>";	
 
 	return htmlCode;
-}
\ No newline at end of file
+}



More information about the pLog-svn mailing list