You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#100575 Using the wf-responsive widget, how to reduce size of video in proportion by css ?

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Chacapamac on Wednesday, 24 July 2019 14:53 BST

Chacapamac
Using the wf-responsive widget, how to reduce size of video in proportion by css ?

Ryan
Is this an mp4 video or an external source like Youtube or Vimeo?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Chacapamac
Yes, YouTube. This is for a frontal blog presentation where I want to control the size of images (already done and videos to have a nice uniform presentation. I’m not sure of the best way...

Ryan
In the Code tab, wrap the iframe in a div tag with an appropriate width style, eg:

<div style="width:400px">
    <iframe src="https://www.joomlacontenteditor.net/..." frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Chacapamac
Thanks Ryan, I make it work with the

span.wf-responsive-video-container iframe