Log in

View Full Version : Resize embeded video clip in posts?


goxy63
05-13-2010, 11:59 AM
Does anyone know how to achieve this as I think that default size is to large?

Maybe I did not saw options in AdminCp related to this?

Videx
05-14-2010, 12:11 AM
I don't think I've ever seen anything like that. Don't the embed sizes come from the originating site?

Although HTML 5 will have some sort of video tag, I've never seen any indication that it will allow on-the-fly resizing.

goxy63
05-14-2010, 07:58 AM
I don't think I've ever seen anything like that. Don't the embed sizes come from the originating site?

Although HTML 5 will have some sort of video tag, I've never seen any indication that it will allow on-the-fly resizing.

Thank you, but...

My knowledge about this is very basic.... but I was editing many times embed code to resize video on my homepage or such....also here on vb.org we have several mods doing that stuff (not resizing but displaying in "normal" size)
for example:
https://vborg.vbsupport.ru/showthread.php?t=150761&page=90
https://vborg.vbsupport.ru/showthread.php?t=229761
...

My engl is not that good, all I am asking is:
When user attach video (through new option in editor) how to change size of what is displayed. Now that size is way to large for me!
Where to change that code?

If u ask me its kinda dumb to have this option without option to change size, or that size by default is "normal"

goxy63
06-05-2010, 05:57 PM
Styles & Templates –> Style Manager –> –> BBCode Layout Templates –> bbcode_video

find:
<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}">


change to/in my case/:

<vb:elseif condition="$provider == 'youtube'" />
<object class="restrain" type="application/x-shockwave-flash" width="512" height="308" data="http://www.youtube.com/v/{vb:raw code}">

changed size for 20% as by default is too big for me

Thank you all for help :down::mad:

DNN
01-22-2012, 05:21 AM
tried it and not working

Madita
06-29-2012, 08:51 AM
Doesn't work for me either - any solutions ?

Want to increase videos width and height which are embeded via editor-video button !

I am using VB 4.1.12

obglobal.net
07-21-2014, 11:41 AM
this method hasn't worked for me.

Any updated means to make this happen?