Views: 806,997,949
3 users online: I don't know a good name., Infinity, System64 - Guests: 39 - Bots: 192 Users: 42,329 (1,937 active)
Latest: navigator
Tip: Take advantage of easy to install Patches in your hack. Both of the Classic Piranha Plant Fix patches should be considered if you are going to use Classic Piranha Plants in your hack.Not logged in.
Embeddable SPC player, updated! + new music section SPC player!
Forum Index - Donut Plains - Computers & Technology - Embeddable SPC player, updated! + new music section SPC player!
Pages: « 1 »
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 embed-spc to any links pointing to an SPC file or a Zip file containing SPC files. Like this:

<a class="embed-spc" href="">Super Mario World OST</a>
<a class="embed-spc" href="">Yoshi’s Island OST</a>
<a class="embed-spc" href="">Donkey Kong Country 2: Diddy Kong’s Quest OST</a>
<a class="embed-spc" href="">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!

Because of the limitations of Flash and Javascript, only Zip files and unarchived SPCs are supported. SPCs in Zip files must be compressed using DEFLATE; uncompressed Zip files are also supported.

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.

Update: I've rewritten the script for the new music section! If you ever installed the script I made for the old music section, it should be updated automatically. If not, click here to install it. It is separate from the SPC embedder for the forums.

The new music section is paginated, which means the page will reload every time you switch pages, getting rid of whatever you might have been listening to. To fix this, install this script and you will be able to switch between music section pages without losing what you're listening to. The entire page unfortunately will still be reloaded if you view a submission page.

Pages: « 1 »
Forum Index - Donut Plains - Computers & Technology - Embeddable SPC player, updated! + new music section SPC player!

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 7


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy