From 3e224f95cb1a8bbc2d9f10a85d6632e7710b446a Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" <nastasi@alternativeoutput.it> Date: Sat, 16 Feb 2008 18:03:59 +0000 Subject: [PATCH] playsound correction --- web/commons.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/commons.js b/web/commons.js index c857390..d286372 100644 --- a/web/commons.js +++ b/web/commons.js @@ -904,9 +904,9 @@ function playsound(tag, sound) { if (g_withflash) { $(tag).innerHTML = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+ 'codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" id="mysound" WIDTH=1 HEIGHT=1>' + -'<PARAM NAME="movie" VALUE="playsound.swf"><PARAM NAME="PLAY" VALUE="true"><PARAM NAME="LOOP" VALUE="false">' + +'<PARAM NAME="movie" VALUE="../playsound.swf"><PARAM NAME="PLAY" VALUE="true"><PARAM NAME="LOOP" VALUE="false">' + '<PARAM NAME=FlashVars VALUE="streamUrl='+sound+'">' + -'<EMBED swliveconnect="true" name="mysound" src="playsound.swf" FlashVars="streamUrl='+sound+'" PLAY="true" LOOP="false" '+ +'<EMBED swliveconnect="true" name="mysound" src="../playsound.swf" FlashVars="streamUrl='+sound+'" PLAY="true" LOOP="false" '+ ' WIDTH=1 HEIGHT=1 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></OBJECT>'; } } -- 2.17.1