CMS Development

kelsie-collins
Member

adding in header video on homepage

SOLVE

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 Accepted solution
Stephanie-OG
Solution
Key Advisor

adding in header video on homepage

SOLVE

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

View solution in original post

1 Reply 1
Stephanie-OG
Solution
Key Advisor

adding in header video on homepage

SOLVE

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