Background Video For Desktop And Mobile - Question | JoomShaper

Background Video For Desktop And Mobile

LT

Lee Tempest

SP Page Builder 2 weeks ago

How can I specify a different video for display as a background of a section depending on wether the site is viewed on desktop or mobile?

My dekstop video is set to cover the width of the browser, but on a narrower mobile portrait some fo the video content is clipped.

I would like to define a video for desktop and mobile within the section.

Is this possible? and if not can it be added as a feature request for a future release?

Thanks

0
2 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 weeks ago #217765

Hi Lee,

in theory you could use different Section for Desktop and Mobile, but not all webmaster like that solution. 2nd, by using some CSS tricks you could correct that.

But, indeed, I will ask our team to add it to wish-list.

0
LT
Lee Tempest
Accepted Answer
2 weeks ago #217766

Thanks for the reply, yes I have currently used two sections and set the responsive options as required, but this means both videos are loaded on page load which is not beneficial. CSS tricks would also still load both videos and then 'hide' one.

The better solution is to interogate the deice being use don page load and then select the relevant content depending on the device etc.

Hopefully the JoomShaper developers can work their magic and include an option in a future release!

0