• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Custom BB Code Media Site broken

grantus

Active member
#1
I just noticed in 1.2 that my custom BB Code Media Site is broken. When I try to put in the URL, it says "the specified URL cannot be embedded as media".

Is this something in 1.2? Because none of my code has changed. Here's what I have:

Media Site ID: members_music
Site Title: Members Music

Embed HTML:
Code:
<iframe width="660" height="170" src="http://localhost/forum/includes/share.php?music_id={$id}" frameborder="0"></iframe>
*Edit:
I'm able to put the media in manually and it shows no problem.

Code:
[media=members_music]250[/media]
But I still can't paste the code in the embed box or have it auto-embed.
 
Last edited:

EQnoble

Well-known member
#11
ohh i just realized why what I told you didn't work....

if you use regex (which the example I gave you was) you would need to go to the advanced tab and check the box for:

Use 'Match URLs' as PCRE regular expressions

heh...good job