Hi there, I just installed AdvMedia and I am having a bit of trouble with the mp3 player.
The player is showing up on the site but the song is not playing.. I looked at the source code and this is what it has:
<script type='text/javascript' src='assets/plugins/advmedia/js/swfobject/swfobject.js'></script>
<div id='cgej'>This div will be replaced</div>
<script type='text/javascript'>
var s1 = new SWFObject('assets/plugins/advmedia/players/xspf/xspf_player_slim.swf','cgej','200','15','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','song_url=/assets/media/song.mp3');
s1.write('cgej');
</script>
I’m thinking maybe the line:
s1.addParam('flashvars','song_url=/assets/media/song.mp3');
needs to be changed so that there isn’t a "/" before assets?
but I am not sure how to change this.
I also my be completely wrong, so any help would be appreciated!
Thanks
EDIT!!!:
Actually, I think something else is wrong!
I right-clicked the player and there was an option to "download this song" so I clicked on it took me to:
http://www.mysite.com/assets/media/song.mp3
which would be fine, but my site is in a sub domain so it needs to be sent to:
http://www.mysite.com/folder/assets/media/song.mp3
Any ideas on how I can fix this?