mp4 film not changing at 480 breakpoint - not published

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: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

mp4 film not changing at 480 breakpoint - not published

Post by Bluesman »

Hi Pablo and team. Wonder if this shall work as it is possible to have a different film in the 480 breakpoint? I have the original backgroundfilm in a layout grid/style setting. My Default 1920 and bp 1460, 1024, 768 and 480. The original film works in all breakpoints and doesn't even publish for the 480 bp? Should this work?
"Make My Day"

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

Re: mp4 film not changing at 480 breakpoint - not published

Post by Pablo »

No, you cannot have a different background video in breakpoints.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: mp4 film not changing at 480 breakpoint - not published

Post by Bluesman »

Pablo wrote: Sat Feb 10, 2024 1:41 pm No, you cannot have a different background video in breakpoints.
Ok Pablo, understand. Thought you could because it was possible to change in the lowest brekpoint. Will put this to suggestions because it is very important that you can make a more suitable and smaller video for the mobile devises.
"Make My Day"

See my Website
User avatar
gofrank
 
 
Posts: 186
Joined: Sun Dec 30, 2007 2:43 am
Location: Florida, USA

Re: mp4 film not changing at 480 breakpoint - not published

Post by gofrank »

Why not add a second layout grid with the alternate video for the 480, then hide it in all the other views. Of course, the original layout grid will have to be hidden in the 480 view. It will add to the page weight somewhat, but it works.
Billing clients for your freelance work? Try Minute-2-Minute, the project management, timing, and billing system. Perfect for web developers who charge by the hour. FREE 45-day trial.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: mp4 film not changing at 480 breakpoint - not published

Post by Bluesman »

gofrank wrote: Sat Feb 10, 2024 1:55 pm Why not add a second layout grid with the alternate video for the 480, then hide it in all the other views. Of course, the original layout grid will have to be hidden in the 480 view. It will add to the page weight somewhat, but it works.
Hi gofrank... as you wrote "it will add to the page weight" and that what I am trying to decrease by having a smaller video... so it makes it worse.
"Make My Day"

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

Re: mp4 film not changing at 480 breakpoint - not published

Post by crispy68 »

Honestly, i'm not sure if there is much of a difference between what goFrank suggested and what you are wanting in terms of page weight. Even if you could specify a different video in a breakpoint, both videos would still be loaded in the background. Even when you use 'display:none' in the css, they would be loaded. As with images, there is no HTML "srcset" for videos. I don't know if there is a javascript solution for something like this or not.

I would just make sure your video is compressed as much as possible and not terribly long so it loads quickly.
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: mp4 film not changing at 480 breakpoint - not published

Post by Bluesman »

crispy68 wrote: Sat Feb 10, 2024 2:42 pm Honestly, i'm not sure if there is much of a difference between what goFrank suggested and what you are wanting in terms of page weight. Even if you could specify a different video in a breakpoint, both videos would still be loaded in the background. Even when you use 'display:none' in the css, they would be loaded. As with images, there is no HTML "srcset" for videos. I don't know if there is a javascript solution for something like this or not.

I would just make sure your video is compressed as much as possible and not terribly long so it loads quickly.
Hi crispy tnx for tuning in :D You know I was out for this earlier on and used the extension from [rz] RP. That extension worked as a charm with both pictures and videos and different formats. But unfortunately it is a little outdated now and I have changed all the extensions I used from [rz].
I'm not a programmer but that extension showed it is possible to achieve.
"Make My Day"

See my Website
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Re: mp4 film not changing at 480 breakpoint - not published

Post by BaconFries »

User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Re: mp4 film not changing at 480 breakpoint - not published

Post by BaconFries »

Not tested the following script but it may offer a possible solution. Not tested in anyway for information only.
https://blog.greggant.com/posts/2019/08 ... e-tag.html
User avatar
Bluesman
 
 
Posts: 1157
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: mp4 film not changing at 480 breakpoint - not published

Post by Bluesman »

BaconFries wrote: Sat Feb 10, 2024 8:19 pm Not tested the following script but it may offer a possible solution. Not tested in anyway for information only.
https://blog.greggant.com/posts/2019/08 ... e-tag.html
Hi Bacon... tnx for your posts :D And yes I have asked almost the same but at that time I did not notice that you could link another video at the mobile breakpoint and it keep it. You can not do this in any of the other breakpoints? But ok... now I got the answer for that to and yes it would be very convenient to have option for this function so you can keep down the loading time and bandwidth consumtion for the small usnits.
Tnx for the link
"Make My Day"

See my Website
Post Reply