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

XF 1.1 Embed YouTube or video link in a page

Discussion in 'XenForo Questions and Support' started by Neal, Apr 10, 2013.

  1. Neal

    Neal Well-Known Member

    I'm creating a page but want to include an embedded YouTube video. I've tried adding
    Code:
    [media=youtube]b16lY3Zrnf8[/media]
    but it just shows what i've typed.

    Any ideas what I need to do to get the video to show please?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can only use HTML in pages so you use the full embed code.
     
    Neal likes this.
  3. Neal

    Neal Well-Known Member

    Yeah just tried this from YouTube and it worked.

    Code:
    <iframe width="560" height="315" src="http://www.youtube.com/embed/b16lY3Zrnf8" frameborder="0" allowfullscreen></iframe>
     

Share This Page