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

XF 1.1 Media Link Error


New member
yup Jake.

match URLs:

embeded HTML
<iframe width="500" height="300" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>

put in Youtube link, get undefined error >.<


XenForo developer
Staff member
This is an indication of a bad regex (or the regular expression option being selected when you didn't mean to) for one of the media sites -- not necessarily the one you're actually attempting to embed.


New member

works fine here and work on my domain typing in media=youtube...

however place url into editor and error pop up.

Jake Bunce

XenForo moderator
Staff member
More specifically, Mike and I are referring to these options:

Admin CP -> Home -> BB Code Media Sites -> [click the media site]
> Match URLs
> Advanced Options: Regular Expression Matching: Use 'Match URLs' as PCRE regular expressions

Either the Match URLs is bad or Use 'Match URLs' as PCRE regular expressions is enabled when it shouldn't be.