- This topic has 10 replies, 3 voices, and was last updated 1 year, 6 months ago by Vajra.
March 15, 2020 at 11:27 am #1195708Vajra
I have spent hours trying to do a full-page video header.
I have checked out all your support pages followed.
Tried all sorts of CSS etc.
I can’t get it to work, I’m working on a flywheel with a new install the only plugins are GP Premium and Simple CSS.
I have made a number of sites with Generatepress its and amazing theme. But I can’t believe I’m the only person who is having this problem. the page https://docs.generatepress.com/article/page-hero-background-video/ is helpful although it does not tell you the settings for the header element, I have tried them all.
Here is my content in the content box of the header element.
The CSS is as the page says.
<video loop muted autoplay poster=”http://gptest.local/wp-content/uploads/2020/03/cropped-jan-folwarczny-1177863-unsplash-1.jpg” class=”background-video”>
<source src=”https://www.youtube.com/embed/rtEkZ5En-Xc” type=”video/mp4″>
</video>Your Element content in here.
Can you please advise.
VajraMarch 15, 2020 at 11:40 am #1195721LeoStaffCustomer SupportMarch 15, 2020 at 1:10 pm #1195765Vajra
its hosted locally.March 15, 2020 at 2:26 pm #1195812LeoStaffCustomer SupportMarch 15, 2020 at 9:28 pm #1195949Vajra
Tried it and nothing changed?March 16, 2020 at 2:12 am #1196063DavidStaffCustomer Support
you can’t use a Youtube video link – it has to be a direct URL to the video file, which Youtube doesn’t provide ( or allow ).
So you will need to serve the video locally from your media library or another media sharing service that provides a URL to the file.March 16, 2020 at 10:40 am #1196619Vajra
Ok I will try that. I’m assuming a YouTube video would load quicker? Are there plans to make it YouTube compatible?March 16, 2020 at 12:17 pm #1196695LeoStaffCustomer SupportMarch 16, 2020 at 4:29 pm #1196829Vajra
It’s working thanks.
VajraMarch 16, 2020 at 4:30 pm #1196830LeoStaffCustomer SupportMarch 16, 2020 at 5:06 pm #1196844Vajra
- You must be logged in to reply to this topic.