embedded YouTube-video / screen size smaller ?

erich37

Well-known member
when embedding a YouTube video, then the screensize of the Video at the Forum is a bit smaller than on YouTube itself.
Why ?

Is there a chance to have the same screen-size as on YouTube ?
 

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Home -> BB Code Media Sites -> YouTube

You will see dimensions in the Embed HTML. They are specified twice in the code. Change both instances to whatever dimensions you want.
 

Brogan

XenForo moderator
Staff member
This is what I use on my site:
Code:
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0"></iframe>
 

erich37

Well-known member
do you know what is the standard-size of the videos shown on youtube ?
I would like to have the same size of the videos on my forum.

many thanks!
 

erich37

Well-known member
thanks guys, works fine !
not sure why it is smaller as per XF-default than as youtube-default..... should be same size IMHO
 

Brogan

XenForo moderator
Staff member
I believe the size that has been set here is to ensure embedded videos fit in personal conversations when using the fixed width style.
 
Top