After installing the module with some fixes from there, I ended up with Premium Beat Single Player being unable to play the music, and there comes precious brain work:
We have to change on line 307 in audiofield.module:
<embed src="' . $player_path . '" width="192" height="80" float="left" wmode="transparent" flashvars="<b>soundPath</b>=' . $audio_file . '" autostart="true" loop="false" controller="true" bgcolor="#FF9900" pluginspage="http://www.macromedia.com/go/getflashplayer" >
To the following:
<embed src="' . $player_path . '" width="192" height="80" float="left" wmode="transparent" flashvars="<b>mediaPath</b>=' . $audio_file . '" autostart="true" loop="false" controller="true" bgcolor="#FF9900" pluginspage="http://www.macromedia.com/go/getflashplayer" >
Changes are highlighted in bold. Have a nice play.
Comments
Comment #1
dartdev commentedOkay, can't use tags inside <code>, sad.
Use the following, instead of code in the main post:
<embed src="' . $player_path . '" width="192" height="80" float="left" wmode="transparent" flashvars="mediaPath=' . $audio_file . '" autostart="true" loop="false" controller="true" bgcolor="#FF9900" pluginspage="http://www.macromedia.com/go/getflashplayer" >