Poll

Who's the best mean, clean Beepin' Machine?

Kohoutek
8 (23.5%)
}]Crazy[{
3 (8.8%)
Amerax
1 (2.9%)
Honorabl3
5 (14.7%)
BluetoothBoy
3 (8.8%)
The Killer Cop #311
1 (2.9%)
Couatl
1 (2.9%)
Steve5451²
4 (11.8%)
Daswuirch
2 (5.9%)
Nera
0 (0%)
Alteration
2 (5.9%)
SWAT One
4 (11.8%)

Total Members Voted: 34

Author Topic: Beepbox V2 (POLL ADDED)  (Read 11627 times)

Kohoutek's tracks are awesome!

Pageloss. Should've realized I posted at the end of the 5th page.
Thought you guys might want this. https://greasyfork.org/en/scripts/10233-too-many-embeds

For just BeepBox:
Code: [Select]
// ==UserScript==
// @name Blockland Embedder for BeepBox
// @namespace https://greasyfork.org/en/scripts/10233-too-many-embeds#beepbox
// @author Steve5451 and dargereldren
// @version 1.0.1
// @description Embed links from BeepBox.co
// @icon https://pbs.twimg.com/profile_images/2162768644/favicon_large.png
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @include http://forum.blockland.us/*
// ==/UserScript==

$('a[href*="beepbox.co/#"],a[href*="beepbox.co/js.html#"]').each(function() {
var beepboxId = $(this).attr('href').split('#')[1];
embedMedia(beepboxId, $(this), 'beepboxExpand');
});

function embedMedia(medId, thisItem, embedType) {
thisItem.after(' <input type="button" value="Embed" class="embedMedia" id="' + embedType + '" expanded="false" medId="' + medId + '" /> ');
}

$(document).find(".embedMedia").click(function() {
if ($(this).attr('expanded') == "false") {
var thisId = $(this).attr('id');
if (thisId == 'beepboxExpand') {
$(this).after('<div><iframe src="http://www.beepbox.co/embed.html#' + $(this).attr('medId') + '" frameborder="0" height="200" width="800"></iframe></div>');
}

$(this).val("Remove")
$(this).attr('expanded', 'true');
} else {
$(this).next().remove();
$(this).val("Embed")
$(this).attr('expanded', 'false');
}
});


This uses the embed URL at http://beepbox.co/embed.html#<yoursongdata>, which means you'll be able to play the song, but you won't see the notes.
That URL is also the only way to embed BeepBox songs on your website.
« Last Edit: December 06, 2015, 02:43:49 PM by dargereldren »



« Last Edit: June 06, 2015, 02:55:11 AM by Amerax »



« Last Edit: June 14, 2015, 10:19:58 PM by Daswiruch »




« Last Edit: June 11, 2015, 06:38:12 AM by Kohoutek »

bump

edit: my 1337th(leeth?) post [insert sunglasses]
« Last Edit: June 14, 2015, 03:20:44 PM by Kohoutek »


« Last Edit: June 28, 2015, 11:51:09 PM by Daswiruch »