erich37 Well-known member Apr 19, 2011 #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 ?
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 Well-known member Apr 19, 2011 #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. Upvote 0 Downvote
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.
Paul B XenForo moderator Staff member Apr 19, 2011 #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> Upvote 0 Downvote
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 Apr 19, 2011 #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! Upvote 0 Downvote
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 Apr 19, 2011 #6 thanks guys, works fine ! not sure why it is smaller as per XF-default than as youtube-default..... should be same size IMHO Upvote 0 Downvote
thanks guys, works fine ! not sure why it is smaller as per XF-default than as youtube-default..... should be same size IMHO
Paul B XenForo moderator Staff member Apr 19, 2011 #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. Upvote 0 Downvote
I believe the size that has been set here is to ensure embedded videos fit in personal conversations when using the fixed width style.