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

embedded YouTube-video / screen size smaller ?

erich37

Well-known member
#1
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
#2
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
#3
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
#4
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
#6
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
#7
I believe the size that has been set here is to ensure embedded videos fit in personal conversations when using the fixed width style.