Hi,
I'm using the player in Moodle course but lately I've been encountering a problem setting it up, whether for mp3 or flv. I always get the "this wil be replaced" text, although I indicate the path for the .js .swf and the .mp3 or .flv file.
I want to use the player in different moodle courses as well as in a wiki page.
What I don't get here, is that in my first moodle course I previously installed an mp3 player with a playlist that works fine. I proceeded the same way to install sound and video but it didn't work. That is I first uploaded the .js .swf and .mp3 or .flv files to each course and wiki and change the path parameters in the code. I just checked on two different Moodle sites, with the same code (except for paths) it works only in the older course
Anybody could help?
I post her the code I use
<script type='text/javascript' src='http://moodle.tkukoulu.fi/file.php/1510/Lecteur/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('http://moodle.tkukoulu.fi/file.php/1510/Lecteur/player.swf','mpl','450','200','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable("skin", "http://moodle.tkukoulu.fi/file.php/1510/Lecteur/simple.swf");
so.addVariable('file','http://moodle.tkukoulu.fi/file.php/1510/music_-_copie_13.xml');
so.addVariable('backcolor','FFFFFF');
so.addVariable('frontcolor','3333FF');
so.addVariable('lightcolor','FF3333');
so.addVariable('screencolor','FFFFFF');
so.addVariable('playlist','bottom');
so.addVariable('autostart','true');
so.addVariable('repeat','always');
so.addVariable('shuffle','true');
so.write('mediaspace');
</script>
Thanks for any help.
Josselin

I get a bunch of errors if I try to download your swfobject.js file. You player code is for SWFObject v1.5; are you absolutely sure that swfobject.js is the v1.5 file. Open it with a text editor to check the version.
I don't see anything wrong with your code, but you will have to check the availability of your JS, player, playlist, and skin files. I can't because of the security certificate problem.