syrus.xl |
11-15-2006 12:45 PM |
Quote:
Originally Posted by Greek76
(Post 1117815)
Warning!!! To view this vbMp3 Player please enable JavaScript and Flash!
It works fine on the forum but on cm this is the error message I get any ideas?
|
I assume from the error message you do not have the vBa CMPS installed in the forum 'ROOT'. This is why this message will appear, since it uses a relative path to find the flashobject.js and swf files.
The easiest way around this issue is to change this line:
Code:
<script type="text/javascript" src="flashobject.js"></script>
to this:
Code:
<script type="text/javascript" src="http://www.mydomain.com/forum_name/flashobject.js"></script>
And also this line:
Code:
var fo = new FlashObject("xeon_mp3_beta.swf", "xeon_player", "450", "400", "8,0,0,0", "#f7f8fa");
to this:
Code:
var fo = new FlashObject("http://www.mydomain.com/forum_name/xeon_mp3_beta.swf", "xeon_player", "450", "400", "8,0,0,0", "#f7f8fa");
Now both lines are absolute urls and should cause no problems.
|