PDA

View Full Version : BB Code Enhancements - ZippyShare.com shared music BBCode (Embed MP3 files in your forum!)


BirdOPrey5
07-19-2010, 10:00 PM
ZippyShare.com (http://www.zippyshare.com) is a free file host that lets you upload any type of file for free to share with the internet community, also for free. If you upload special types of files, such as music or video, it will even allow you to embed a player for your file. This BB Code specifically deals with Music (.mp3) files.

Go to www.zippyshare.com and upload an mp3 file. Then link to it using the following bbcode to embed a player right in your forum page:
file#

Live Demo: here. (http://www.juot.net/forums/showthread.php?t=48056)

Screen Shot:
https://vborg.vbsupport.ru/external/2010/07/33.jpg

When you submit a file you need 2 pieces of information, the number following the "www" as the option and the file number which goes between the tags. In my example the file was uploaded to www21 so "21" is the tag option. 4972441 is the file number.

Add a new BBCode

Title: ZippyShare Music
BB Code Tag Name: zippy
Replacement:

<script type="text/javascript">var zippywww="www{option}";var zippyfile="{param}";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=false;var zippyvol=80;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>


Example: 4972441
Description: This code embeds a ZippyShare.com mp3 music file. The example is a reading of Edgar Allen Poe's "The Raven."
Use Option: Yes
Button Image: (optional) https://vborg.vbsupport.ru/external/2010/07/33.jpg
Remove Tag If Empty: Yes
All Disable Options: Yes

Once you upload your music file at zippyshare.com copy the file number and the number after the "www". These numbers are in the link.
Example: If your link is: http://www21.zippyshare.com/v/4972441/file.html
Your file number is: 4972441
And your www option is: 21
Put the file number between the tags.

According to the ZippyShare.com terms of use:
Terms of Use: Function for non-comercial use only.

NOTE: After submitting a post with this bbcode you may need to reload (refresh) the page to see the embedded player.

Files uploaded to ZippyShare.com remain active for at least 30 days after the latest activity (download) of the file, so it's not a permanent solution but it will still work well staying alive while any thread is active and then for 30 additional days.

This was made for vB 3.8 but should work on all current versions.

Please mark as installed if you use this. :)

Download the .txt file for a copy of the Install Instructions.

BirdOPrey5
07-20-2010, 09:47 PM
Updated to use the option.

john102774
07-27-2010, 10:01 PM
Is there an autoplay feature?

BirdOPrey5
07-28-2010, 12:24 AM
Is there an autoplay feature?

Yes, to auto-start use the following replacement code instead:

<script type="text/javascript">var zippywww="www{option}";var zippyfile="{param}";var zippydown="ffffff";var zippyfront="000000";var zippyback="ffffff";var zippylight="000000";var zippywidth=680;var zippyauto=true;var zippyvol=80;</script><script type="text/javascript" src="http://api.zippyshare.com/api/embed.js"></script>


But it may get very annoying for users.

Unfortunately you can't choose auto play or not within the bb code. I'd suggest making a second copy of the BB Code, maybe calling it [zippyauto] or such so only people who need to autostart something use it... if everyone auto-starts it would be bad.

john102774
07-28-2010, 02:15 PM
Nice! *Installed.

ozgurer34
02-08-2013, 03:08 PM
thanks

freak46
07-16-2013, 10:44 PM
hmm awesome works fine for my forum thanks man