As designed BB Code Media Site - {$id} doesn't accept forward slash

Jake Bunce

Well-known member
Re: http://xenforo.com/community/threads/can-bbcode-media-id-contain-forward-slash.7914/

Long short, I tried several things to get his http://soundcloud.com/ BB code working. The problem came down to the fact that the {$id} doesn't accept a forward slash for either URL parsing via the editor shortcut or when manually typing the BB code into the post.

I think this requires a xenForo fix to get it working.

edit (Oct 19, 2011) - this works in 1.1 now:
http://xenforo.com/community/threads/add-more-video-sites-bb-code-media.7608/page-7#post-275009
 
Allowing a slash would potentially break other situations though - it's not expected that slash is used in an identifier. Considering a single ID, it wouldn't make sense as a slash is actually a special character in a URL.

Indeed, looking at the embed.ly API, they actually consider the Soundcloud example to be 2 IDs, which is something we don't support at this time.
 
Top Bottom