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 Online

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

#116103 Responsive video

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 Ryan on Saturday, 17 February 2024 12:18 GMT

dupinsan
Hi,
When I insert a video with JCE, I can choose the size (by default or in a special way), but I cannot make it responsive (100% width) so that it adapts to smartphones.
A solution ?

dupinsan
Thank you very much 😉

dolmenhir
Hi,

You can make your video responsive simply by editing the style in the advanced tab of the Media Manager.

Add this style property "max-width:100%;"

Ryan
Yes, and you can also use css in your template stylesheet, eg:

video {
    max-width:100%;
    height:auto;
}

Ryan Demmer

Lead Developer / CEO / CTO

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