Change video background for image in 480 breakpoint

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
User avatar
Bluesman
 
 
Posts: 1192
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Change video background for image in 480 breakpoint

Post by Bluesman »

Hi Pablo and WWB:rs. Having a videobackground in a Layout Grid that works good except for slow in mobile phones. The smallest breakpoint is 480 pxl and I want to have a static image here for speed up the loading time. Is that possible with the WWB tools.
Exciting AI 19 times... :D
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Change video background for image in 480 breakpoint

Post by Pablo »

I'm sorry, that is not possible.
The reason for that is that adding a background video does not only change the style but also HTML structure.
And the HTML structure is the same for all breakpoints.
User avatar
Bluesman
 
 
Posts: 1192
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Change video background for image in 480 breakpoint

Post by Bluesman »

Pablo wrote: Fri Nov 17, 2023 11:20 am I'm sorry, that is not possible.
The reason for that is that adding a background video does not only change the style but also HTML structure.
And the HTML structure is the same for all breakpoints.
Hi Pablo... I was wondering about a little workarround to this issue and how it would affect the html and loading speed:
If I copy the Layout Grid in the 480 bp that contains the background video and change this to a background image. Then I hide the Layout Grid that contains the video. After that I hide the new Layout Grid with image from the other breakpoints? Will this work ok you think without loading time for the video in 480 pxl?

A small wonder to... Many years ago I bought an extension from the late great [rz] R.I.P ❤️ Background Video. Because of the tragic death of {rz] and the no support any longer for his extensions I decided to change the ones I have used to newer when released from Pablo or other. But I have saved them and was thinking of taking this to use again because it has the futures of having image in breakpoint etc.
But wonder if you have any experience of this extension or advices because what happend?
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 3001
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Change video background for image in 480 breakpoint

Post by crispy68 »

Even if you hide the video it will still be loaded. Hiding it only affects whether you see it or not.
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Change video background for image in 480 breakpoint

Post by Pablo »

I'm sorry, I have no experience with this extension. But it may use a script to switch the video on / off.
But the structure of the HTML will still be the same, whether you hide the video or not.
User avatar
Bluesman
 
 
Posts: 1192
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Change video background for image in 480 breakpoint

Post by Bluesman »

crispy68 wrote: Fri Nov 17, 2023 2:25 pm Even if you hide the video it will still be loaded. Hiding it only affects whether you see it or not.
Tnx for that crispy, will save me some trial & error :)
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1192
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Change video background for image in 480 breakpoint

Post by Bluesman »

Pablo wrote: Fri Nov 17, 2023 2:26 pm I'm sorry, I have no experience with this extension. But it may use a script to switch the video on / off.
But the structure of the HTML will still be the same, whether you hide the video or not.
Ok... tnx Pablo, seams regarding to crispys answer that this extension is my only option for the moment...
Waiting for AI 19 :mrgreen:
"Make My Day"

See my Website
Post Reply