Duplicate Youtube Video overlaps Edit Thread

F

Floris

Guest
This also happens when the last post in the thread ends with a video, and you then click on 'embed video', you can't use it as youtube in the last post overlaps.
 

Mike

XenForo developer
Staff member
In BB code media site values, you need to ensure the object tag has a type="application/x-shockwave-flash" attribute:

Rich (BB code):
<object width="500" height="300" data="http://www.youtube.com/v/{$id}&amp;fs=1" type="application/x-shockwave-flash">
	<param name="movie" value="http://www.youtube.com/v/{$id}&amp;fs=1" />
	<param name="allowFullScreen" value="true" />
	<param name="wmode" value="opaque" />
	<embed src="http://www.youtube.com/v/{$id}&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="500" height="300" />
</object>
This applies to any object tag (YouTube, FB, or ones you've added). This has been in the default value for several versions, though older installs may not have it.
 
Top