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

As Designed Duplicate embed videos when the option for Auto-embed link is enable

Discussion in 'Resolved Bug Reports' started by kkm323, Oct 15, 2012.

  1. kkm323

    kkm323 Well-Known Member

    When this option is enable
    ---- Auto-embed media, and add a link to the content within this BB code

    if you edit your post and hit submit the post creates a duplicate embed videos
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That's why that option has a warning:

    Screen shot 2013-01-01 at 1.52.27 PM.png

    To avoid this problem I suggest modifying the replacement of the media site itself. For example:

    Admin CP -> Home -> BB Code Media Sites -> YouTube -> Embed HTML

    Add the red code:

    <iframe width="500" height="300" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>
    <br />
    <a href="http://www.youtube.com/watch?v={$id}" target="_blank">Watch on YouTube</a>

Share This Page