MyBB Community Forums

Full Version: Embed video with control over width & height
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

What are the options, if any, to control width & height for embedded videos? Is "MyCode" where I should start to look at?

Vimeo generates 640x360 sized videos and <iframe> etc. suitable for web publishing and everything is fine. However, embedded in MyBB (button + URL) results in Vimeo's default projection of 500x281 with huge quality degrading. So, I need the ability to set width & height »somewhere» in MyBB to force playback to 640x360.

I haven't installed MyBB yet and have no idea -- but could the mentioned iframe-route be used also in MyBB by its standard configuration options? (Security issues probably won't be to serious. The forum will be limmited to a small group within an organization and behind .htaccess.)

Thank you for anything on this.
Håkan Olsson
Maybe Mycode or enable html and use vimeo share code.

Regular Expression

\[vimeo\](.*?)\[/vimeo\]

Replacement *
<iframe src="//player.vimeo.com/video/$1" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Use:
[vimeo]48912641[/vimeo]
(2013-10-11, 03:59 AM)dthiago Wrote: [ -> ]Maybe Mycode or enable html and use vimeo share code.

Okey, perfect. I give it a try with the html enable / vimeo share code for a start. It might actually be a good enough working solution.

For the Mycode route -- I guess the steps shown in: http://community.mybb.com/thread-106240....ight=vimeo are in general what this is about? No?

Thanks
MyCode route

ACP ---> MyCode

http://community.mybb.com/thread-106240....ight=vimeo - if u wish to edit your editor.