I have an xml feed and I need to play an mp3 from the feed. I have set up the player
<div class="musicplayer">
<div id="musicplayercontainer060251712481gbakw0201569t"></div>
<script type="text/javascript">
var flashvars = {file:"music/betty.mp3",as:"0"};
var params = {wmode: "transparent"};
var attributes = {};
swfobject.embedSWF("images/player.swf", "musicplayercontainer060251712481gbakw0201569t", "23", "23", "9.0.0","expressInstall.swf", flashvars, params, attributes);
</script></div>
and it works fine if i pass the mp3 directly but I have to pass it from the xml so I replaced the betty.mp3 with <xsl:value-of select="clipUrl"/>
but it won't play. is there a syntax i need to use?
e.g.
var flashvars = {file:"<xsl:value-of select="clipUrl"/>",as:"0"};
thanks