Extensions > Bots and plugins

Youtube plugin resize problem....

(1/2) > >>

armpouniotis:
Hi there !

I am inserting:

{youtube width="440" height="360"}kzFmEZt_Gyw{/youtube}

but unfortunately, video is not resized.....

What's wrong ?

thank you in advance
Christos

rentasite:

Nothing is wrong!

Set the Default width through: Extensions > Content plugins > YouTube video > Parameters

and in your content use only: {youtube}Video_ID{/youtube}

* Height is calculated automatically from width based on aspect ratio 16:9

datahell:
Since Elxis 4.5 rev1909 (released a few days ago) YouTube videos are been displayed with 100% width and the height is auto calculated based on the 16:9 aspect ratio. This means that youtube videos are now responsive and width/height options are now deprecated and not used. If you want to change video dimensions you can do it from CSS. The same for the map plugin. Related announcement.

So, to answer your question: update to Elxis latest release and you will have responsive youtube videos!

rentasite:

--- Quote from: datahell on February 09, 2017, 22:58:26 ---So, to answer your question: update to Elxis latest release and you will have responsive youtube videos!

--- End quote ---

Good to know!

armpouniotis:
Hi there,

in the CSS file I am writing:

div.elx_ytvideo{
   height: 100px;
   width: 360px;}

Unfortunately, "height" attribute is not working.....

What should I do ???

Navigation

[0] Message Index

[#] Next page

Go to full version