Video on frontpage

Closed
autoRoyal - Automotive WordPress Theme autoRoyal - Automotive WordPress Theme February 20, 2020
Login to reply
Emil Knudsen
1 month ago

Perfect - when can you do it?

Alex Gurghis Support Agent
1 month ago

I will do with the extra filter job.

Emil Knudsen
1 month ago

Thanks! 😍

Alex Gurghis Support Agent
1 month ago

Ok, sure

Emil Knudsen
1 month ago

I've tried this, but it dosn't help.
Can you help?

Alex Gurghis Support Agent
1 month ago

Hi,

You can add a new block with visual composer that has an image as background and in block responsive settings make it show only on mobile and for video block make it show only on desktop.

Regards,

Alex

Emil Knudsen
1 month ago

?

Emil Knudsen
1 month ago

Hello Alex,

Sorry, i don't understand. How can i make it, so the video shows on desktop, but a picture shows on mobile?

Alex Gurghis Support Agent
2 months ago

Hi Emil,

You can add a background image and delete the css code that I sent you earlier that shows the video on mobile. In this case it will hide the video and will show the image.

Kind Regards,

Alex

Emil Knudsen
2 months ago

Can you tell me how?

Alex Gurghis Support Agent
2 months ago

Yes, it is possible.

Emil Knudsen
2 months ago

Okay, can i then differentiate it, so it will show video on desktop and a picture on small screens?

Alex Gurghis Support Agent
2 months ago

Hey Emil,

It can't be done. For various reasons (including, but not limited to data usage), Apple doesn't allow auto-playing of videos.

Alex Gurghis Support Agent
2 months ago

Yes, absolutely. I will make it.

Emil Knudsen
2 months ago

Can you help here?

Emil Knudsen
2 months ago

I've put in the code and the video now shows on the frontpage, but only as a picture. It doesn't play?


www.clevrcar.dk

Alex Gurghis Support Agent
2 months ago

Hi Emil,

The video background in Visual Composer is disabled on small screen (mobile view).

You can try to add this css underneath in Appearance -> Customize -> Additional CSS field:

@media (max-width: 767px) {
        .vc_video-bg-container .vc_hidden-xs { display: block !important; }
}

Kind Regards,

Alex

Emil Knudsen
2 months ago

www.clevrcar.dk

Alex Gurghis Support Agent
2 months ago

I will need a link to test it out.

Emil Knudsen
3 months ago

I've inserted a video, but it only works on computer. On phone it is just a blank space. What can i do?

Alex Gurghis Support Agent
3 months ago

Yes, you can do it. It is possible with Visual Composer.

Kind Regards,

Alex

Emil Knudsen
3 months ago

Hello,

Is it posible to insert a video on the frontpage instead of the hero picture?