The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hello,
I managed to put a "Free Flash mp3 Player" as CMS widget, but something went wrong, I've followed exactly what they say in official site http://www.premiumbeat.com/flash_res...mp3_player.php What I've done is: uploaded playerSingle.swf and swfobject.js to my server (into "Music Player" folder) => changed so.addVariable("soundPath", "song.mp3"); to so.addVariable("soundPath", "var/www/music player/mysong.mp3"); then I: created a new widget (static html) => add the embed code I got Code:
<script type="text/javascript">
var so = new SWFObject("playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
so.addVariable("autoPlay", "no");
so.addVariable("soundPath", "var/www/music player/mysong.mp3");
so.write("flashPlayer");
</script>
![]() It would be very useful for me, plaese help!! Thank you in advance
|
|
#2
|
||||
|
||||
|
Quote:
Quote:
http://yoursite.com/music player/song.mp3 or even /music player/song.mp3 might want to be careful with that music player directory name as well as it has a space in it,might want to change it to musicplayer or music_player let me know if any of this helps. |
|
#3
|
||||
|
||||
|
mandingo solved my issue, now it works
![]() Thank you veeeeery much. If you want the same thing, just copy this code Code:
<script type="text/javascript" src="/yourfolder/swfobject.js"></script>
<div id="flashPlayer">
</div>
<script type="text/javascript">
var so = new SWFObject("/yourfolder/playerSingle.swf", "mymovie", "192", "67", "7", "#FFFFFF");
so.addVariable("autoPlay", "no");
so.addVariable("soundPath", "http://yoursite.com/yourfolder/yoursong.mp3");
so.write("flashPlayer");
</script>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|