07/05/2015 - The embed shortcode.

by Melancholy

Melancholy
すけべ
Admin
Posts: 3,862
Threads: 213
Joined: Jul 2014
Reputation: 60
05-06-2015, 11:24 AM (This post was last modified: 05-06-2015, 11:25 AM by Melancholy.)
#5927 (1)
I've added an [embed] shortcode, which is pretty much the "embed anything" code.

Works with a wide range of sites, including YouTube, Vimeo, blip.tv, AdultSwim, Archive.org, AniBoom and a whole lot more. 

I am aiming to replace all existing embedding bbcodes with this shortcode, so if you try to embed something using it (providing the thing you're trying to embed is actually embeddable) and it does not work; let me know so I can add it. :smile:

The code for this is:
Code:
[embed]URL[/embed]

See it in action

losi
gay retard
Waifu
Posts: 783
Threads: 108
Joined: Jul 2014
Reputation: 11
05-06-2015, 11:32 AM
#5930 (2)
Sweet. Lemme try. Btw "embed" can't be capitalized or it won't work. 


Melancholy
すけべ
Admin
Posts: 3,862
Threads: 213
Joined: Jul 2014
Reputation: 60
05-06-2015, 11:53 AM
#5937 (3)
(05-06-2015, 11:32 AM)losi Wrote: Sweet. Lemme try. Btw "embed" can't be capitalized or it won't work. 


The not being capitalized part is vaguely deliberate.

losi
gay retard
Waifu
Posts: 783
Threads: 108
Joined: Jul 2014
Reputation: 11
05-06-2015, 03:17 PM
#5941 (4)
(05-06-2015, 11:53 AM)Senpai Wrote:
(05-06-2015, 11:32 AM)losi Wrote: Sweet. Lemme try. Btw "embed" can't be capitalized or it won't work. 


The not being capitalized part is vaguely deliberate.

Ah. I understand.