How can I use videos instead of background images on certain collection pages in Webflow, with the videos hosted on Youtube and Google Drive?

Published on
September 22, 2023

To use videos instead of background images on certain collection pages in Webflow, you can follow these steps:

  1. Prepare your video:
  • Ensure that your video is in a compatible format (such as mp4 or WebM) and has an appropriate size and resolution for the web.
  • Host your video on a platform like YouTube or Google Drive. Both platforms provide an embed code that you can use in Webflow.
  1. Access your Webflow project:
  • Log in to your Webflow account and access the project where you want to implement the video background.
  1. Select the collection page:
  • Navigate to the Collection Pages section in the Webflow Designer, and select the specific collection page where you want to use the video background.
  1. Add a new div block:
  • Within the selected collection page, add a new div block by dragging and dropping it onto the canvas.
  • Make sure it covers the entire section or container where you want the video background to appear.
  1. Set the background video:
  • With the newly added div block selected, go to the Style panel on the right-hand side.
  • Under the Background section, click on the "+" icon and choose Video.
  • In the Video panel, click on the Embed icon (</>).
  • Paste the embed code for the video from YouTube or Google Drive into the URL or Embed Code field.
  • Adjust other video settings as needed, such as autoplay, loop, and mute.
  1. Customize the video background:
  • Use additional styling options in the Style panel to further adjust the video background's appearance, such as opacity, blend mode, and positioning.
  1. Preview and publish:
  • Use Webflow's preview functionality to test how the video background looks on different devices and screen sizes.
  • Once you're satisfied, publish your Webflow site to make the changes live.

By following these steps, you can effectively replace background images with videos hosted on YouTube or Google Drive on your collection pages in Webflow. Enjoy creating dynamic and engaging experiences for your website visitors!

Additional questions:

  1. How can I set a video as the background in Webflow?
  2. What are the compatible video formats for video backgrounds in Webflow?
  3. Can I use videos hosted on platforms other than YouTube and Google Drive for backgrounds in Webflow?