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

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
 
That's why that option has a warning:

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

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:

Rich (BB 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>
 
Back
Top Bottom