Page 1 of 1
mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 12:47 pm
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?
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 1:41 pm
by Pablo
No, you cannot have a different background video in breakpoints.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 1:52 pm
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.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 1:55 pm
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.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 2:03 pm
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.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 2:42 pm
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.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 2:51 pm
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

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.
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 2:53 pm
by BaconFries
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sat Feb 10, 2024 8:19 pm
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
Re: mp4 film not changing at 480 breakpoint - not published
Posted: Sun Feb 11, 2024 11:38 am
by Bluesman
Hi Bacon... tnx for your posts

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