• Home
  • Get help
  • Ask a question

Reduced schedule during conference and annual break

We'll be operating with a reduced schedule from tomorrow and the next few weeks, as follows:

We'll be travelling and attending JoomlaDay USA from Tuesday April 22 to Friday April 25. Support will have extended response time during this period. From April 25 evening to Tuesday May 12 included, support will be closed for our annual break.

Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.

In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site)

#9134 – 4video width in desktop resolutions

Posted in ‘SEOInfo and other Weeblr extensions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 17 October 2022 12:02 UTC
tomaszciti

Hi

We have started to use 4video and like it very much so far. How would we ensure that videos have 100% width in resolutions over 1024px? We have tried to add:

.wb-4video-comp-container {
  max-width: 100% !important;
}


or

@media (min-width: 1024px) {
    .wb-4video-comp-container {
        max-width: 100% !important;
    }
}

to our custom css without any effect. We think it doesn't because of iframe usage.

Would editing css classes in 'helper.php' do? If so these would be gone after future updates. 

Thanks.

Monday, 17 October 2022 14:21 UTC
wb_weeblr

Hi

4Video is implemented as a web components, precisely so that outside CSS does not affect it and the video player and table of contents are properly rendered regardless of the surrounding template and CSS. What you do in the helper.php file has not effect, it's only used to avoid Content Layout Shift when the player is loading.

But your use case is perfectly valid, so I added a setting so that you can override the 4Video max width. Please download the latest dev version from the development versions download area , install and you'll see a new setting in the module settings to override the max width.

Be sure to clear caches if you use any after changing that setting.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 17 October 2022 14:40 UTC
tomaszciti

Hi

Thanks. The override max width setting is working well.

This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.