Is there any way to adjust the size of embedded videos from YT using the Post Link feature? At present the videos are very small - the same size you see them on YT would be preferred if it's possible.
Video Size
Collapse
X
-
To change the video size you have to edit the embed code:
Example: <iframe width="560" height="315" src="http://www.youtube.com/embed/EFFxIVVjPYI" frameborder="0" allowfullscreen></iframe> -
Thanks for the reply, but I'm not actually embedding the video; I'm using the Post Link section and adding the URL to the YT video. Embedding would require that HTML be active and whilst I'm happy enough to use HTML I don't want my members using it for the usual security reasons.
I'm presuming that the Post Link feature is using BBCode of some kind and if it is then I need to know where to edit this code so I can make the videos standard YT size when posted. If I remember correctly this could be done in VB4, but in VB5 I can't find it lol.Comment
-
This is actually a relatively easy fix. In your css_additional.css template you would need to add some CSS Code. It should look like this:
Code:.videoscontainer .videocontainer, .videoscontainer .videocontainer .restrain { width:640px; height:390px; }
Code:.videoscontainer .videocontainer, .videoscontainer .videocontainer .restrain { width:853px; height:480px; }
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
This is actually a relatively easy fix. In your css_additional.css template you would need to add some CSS Code. It should look like this:
Code:.videoscontainer .videocontainer, .videoscontainer .videocontainer .restrain { width:640px; height:390px; }
Code:.videoscontainer .videocontainer, .videoscontainer .videocontainer .restrain { width:853px; height:480px; }
this solution works yet? In particular I would like to heavily increase width and slightly decrease height for embedded videos during their execution; you can see how it is now in the attachment, we really don't like it.
Thanks in advance.
Comment
-
You can amend the height and width values in the code.
However, there's a bug at present with video sizes. This is why it's best to start your own thread for any issues, old threads do not contain up to date information.MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
-
Thanks.Comment
Related Topics
Collapse
-
by aspiredlHello,
I was wondering what the best way to increase the size of embedded videos on vBulletin 5? I want it to be the regular YouTube video size rather then such a small box.
...-
Channel: Support Issues & Questions
-
-
by humptyWould it be possible to have posted videos breakout into a lightbox environment? For example, when a YT video is posted using the Post a Link option, the video appears almost thumbnail size, which is...
-
Channel: vBulletin 5 Connect Feedback
Tue 29 Jan '13, 1:03am -
-
by webcmsI need to set the player dimensions same as the initial thumbnail (300x225) - (if the users need, they can click the full screen icon in the player).
When I click the thumbnail, the player...-
Channel: Support Issues & Questions
-
-
by musicoffHi everyone.
We would like to heavily increase width and slightly decrease height for embedded videos while they're running, since we really don't like the actual size (see attachment).
Mark.B...-
Channel: Support Issues & Questions
-
-
by br4scowhen i post a link to a youtube video and it posts it on my forum post, how can i change the default size ? i added a screen shot1 Photo
-
Channel: Support Issues & Questions
-
Comment