XF 2.1 User defined "BB code media site" not working

PaulaG

Member
I've used the YouTube BB code media site setup as a model. The BB code embeds properly in the post using the Insert Media dropdown/modal but nothing shows up when the post is either previewed or saved & viewed.

This is the BB Code that appears in the post -

Code:
[MEDIA=MySite]stuff[/MEDIA]

It also automatically converts to this BB Code if I enter the URL directly as text in the posting, so these 2 things tell me it is enabled.


MySite BB code media site definition -

Enabled: yes

Site URL: https://www.mysite.com

Match URLs: mysite.com/{$id}

Embedded template:
<div class="bbMediaWrapper">
<div class="bbMediaWrapper-inner">
<p>As a test, just try displaying the {$id}</P>
</div>
</div>

I was trying to set up an <iframe> but nothing shows up when viewing the post so I just reverted to this simple test display but nostill no joy.

Is there some stupid little error I'm making or some secret incantation to make this work? I have auto insert enabled and YouTube media inserts work perfectly.[/code]
 
Last edited:
Are you actually using mysite.com in the media definition, or have you just used that for the purposes of posting here?

Which media site are you trying to embed from?
 
Top Bottom