menu
Channels
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Feedback
view-forward
# Guides
view-forward
# I Made This
view-forward
Team

Embedding YouTube Video for homepage hero

September 6, 2019 at 2:23pm

Embedding YouTube Video for homepage hero

September 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
Edited
  • reply
  • like
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 🤔
Edited
  • reply
  • like

September 7, 2019 at 5:21am
Thanks for sending, will go through the guide asap. There is a section in the guide about adjusting for mobile phones so I can circle back once I have more updates!
Edited
like-fill
1
  • reply
  • like