Embedding YouTube Video for homepage heroSeptember 6, 2019 at 2:23pm
Loving Divjoy so far! Incredibly easy and useful. I need to embed a YouTube video as the background of my homepage that will play automatically on load. Example: https://www.npmjs.com/package/react-hero-video
Can I do this inside Divjoy or by adjusting the code generated? If the latter, may you send some guidance? Thanks!
September 6, 2019 at 4:21pm
You can definitely do this by adjusting the exported code of one of the hero sections. Here’s a guide that should help: https://howtogetonline.com/how-to-embed-a-hero-background-video.php
I could add a new hero component with video background to the library, but as that guide mentions there are some issues with mobile phones not auto-playing videos. Maybe it would just display a specified image instead on mobile phones 🤔
September 7, 2019 at 5:21am