CMS Development

kelsie-collins
Mitglied

adding in header video on homepage

lösung

Hello all. I am attempting to switch out a picture for a video on my homepage https://www.riverwalkresortatloon.com/

 

Right at the top where the pop-up says "experience extraordinary", there is a picture of the resort in the background. I would like to take a 30 second video and put it in place of the backgroun image. 

 

Thanks in advance!

0 Upvotes
1 Akzeptierte Lösung
Stephanie-OG
Lösung
Autorität

adding in header video on homepage

lösung

You can use a video tag to add in your video if it's on the HubSpot COS file manager. 

 

W3 Schools has a tutorial on how to do so with JavaScript here and there's this example as well. Personally, I'm a fan of doing everything in CSS where possible so here's an example in HTML/CSS.


Stephanie O'Gay Garcia
HubSpot Design / Development / Automation
Website | Contact

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort
Stephanie-OG
Lösung
Autorität

adding in header video on homepage

lösung

You can use a video tag to add in your video if it's on the HubSpot COS file manager. 

 

W3 Schools has a tutorial on how to do so with JavaScript here and there's this example as well. Personally, I'm a fan of doing everything in CSS where possible so here's an example in HTML/CSS.


Stephanie O'Gay Garcia
HubSpot Design / Development / Automation
Website | Contact