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

BbCode Media Sites...

Discussion in 'XenForo Development Discussions' started by Jaxel, Mar 7, 2015.

  1. Jaxel

    Jaxel Well-Known Member

    Okay, lets say I have a text field with a URL to a video.

    I would like to parse the URL against the bbcode media sites list and return the embed code for that video. I know I can use XenForo_Helper_Media::convertMediaLinkToEmbedHtml, but the problem this has is it doesn't return the embed code, but instead the bbcode.

    How do I get the embed code?

Share This Page