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

Duplicate Youtube Video overlaps Edit Thread

F

Floris

Guest
#6
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
#7
In BB code media site values, you need to ensure the object tag has a type="application/x-shockwave-flash" attribute:

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.