Last summer, I made a Greasemonkey script
that allows you to embed an SPC player in forum posts and PMs on SMWC.
The major limitation of this SPC player is that it was limited to just files in the file bin. Well, no more! The SWF and the SPC/Zip files are now routed through a reverse proxy, allowing you to embed an SPC from any site that allows hotlinking, such as Dropbox.
To use it, install this Greasemonkey script
. You will need either Greasemonkey or Tampermonkey. You will also need Flash Player.
To embed an SPC player, add the class
to any links pointing to an SPC file or a Zip file containing SPC files. Like this:
<a class="embed-spc" href="http://bin.smwcentral.net/u/7478/smw.zip">Super Mario World OST</a>
<a class="embed-spc" href="http://bin.smwcentral.net/u/7478/yi.zip">Yoshi’s Island OST</a>
<a class="embed-spc" href="http://bin.smwcentral.net/u/7478/dkq.zip">Donkey Kong Country 2: Diddy Kong’s Quest OST</a>
<a class="embed-spc" href="https://www.dropbox.com/s/zhxir2guz09nwo6/mmx-16.spc?dl=1">Megaman X – Storm Eagle</a>
And you will get this:
Super Mario World OST
Yoshi’s Island OST
Donkey Kong Country 2: Diddy Kong’s Quest OST
Megaman X – Storm Eagle
— As you can see, both Dropbox links and file bin links work now!
Edit: There is an updated SPC player script for the new music sections! See the next post to get it.
Edit 2: If you have had problems getting the new embeddable SPC player to work, uninstall it and then install the new version (same URL), and then clear your cache. I may have goofed up the first upload.