mp4 film not changing at 480 breakpoint - not published
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
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
mp4 film not changing at 480 breakpoint - not published
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
No, you cannot have a different background video in breakpoints.
Re: mp4 film not changing at 480 breakpoint - not published
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
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.
Re: mp4 film not changing at 480 breakpoint - not published
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
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.
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
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].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.
I'm not a programmer but that extension showed it is possible to achieve.
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: mp4 film not changing at 480 breakpoint - not published
Haven't you already asked this ?
Change video background for image in 480 breakpoint
Change video background for image in 480 breakpoint
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: mp4 film not changing at 480 breakpoint - not published
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
https://blog.greggant.com/posts/2019/08 ... e-tag.html
Re: mp4 film not changing at 480 breakpoint - not published
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.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
Tnx for the link