• Home
  • Customer Reviews πŸŽ‰
  • Work
  • Resources
    • πŸ“— Blogs
    • πŸ’» Tutorials
    • πŸŽ₯ Youtube Videos
    • 🧰 Recommended Tools and Apps
Let's Talk
  • Home
  • Customer Reviews πŸŽ‰
  • Work
  • Resources
    • πŸ“— Blogs
    • πŸ’» Tutorials
    • πŸŽ₯ Youtube Videos
    • 🧰 Recommended Tools and Apps
  • Home
  • Customer Reviews πŸŽ‰
  • Work
  • Resources
    • πŸ“— Blogs
    • πŸ’» Tutorials
    • πŸŽ₯ Youtube Videos
    • 🧰 Recommended Tools and Apps

studio.leopoldopirela@gmail.com

Contact information
  • Home
  • tutorials
  • Creating a BG video in Webflow ...
Shape Images
678B0D95-E70A-488C-838E-D8B39AC6841D Created with sketchtool.
ADC9F4D5-98B7-40AD-BDDC-B46E1B0BBB14 Created with sketchtool.
Total Time: 5 mins
Dropbox, Webflow
Beginner: Beginner

Creating a BG video in Webflow With Dropbox

If you ever wanted a background video to show on your Webflow’s website as a background, but make sure it looks sharp, then this is for you.

Not too long ago, a client came to me to design new pages for her website. One of the elements she wanted to add was a high-quality video background to her landing page. As you know, Webflow has a limit for the file size that you can add, and that is within reason. They want to make sure your Webflow website is fast, as do I!

But adding a Youtube Video as a background, is not a bad thing to do or even Vimeo. However, the Youtube and Vimeo brand remain on it, which can throw off the user.

So instead, I figured out how to do a HTML embed that allows me to show the HQ video from Dropbox directly into Webflow. The code is below for you to copy and replace it with your own shared link.

<video autoplay loop muted style="position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width:100vw; min-width:100%; min-height:100%; z-index: -1;">

 <source src="https://www.dropbox.com/s/xxxx/xxxx?raw=1&amp;autoplay=1" type="video/mp4">

<img src="https://uploads-ssl.webflow.com/xxxx/xxxxx.jpg">
 	
</video>
  1. Upload the video to Dropbox, yep you can upload the full size video. In this case the video was 300MB
  2. Click share on the video and copy the link it will look something like this – https://www.dropbox.com/s/xxghwtcr24w5ea9/Screen%20Recording%202020-11-12%20at%208.17.35%20AM.mov?dl=0
  3. Paste this link in an editor and change the following: “?dl=0” to “raw=1” this will allow the video to play. If you don’t do this, the video will not play. Another thing you might have to do it to remove the ‘s’ from the ‘https’. Some people have found this useful, for me it worked by justchanging dl=0 to raw-1.
  4. Head over to webflow and create a new section where you want your video to display as a Background-video
  5. Then throw in an HTML embed and paste the code you have copied from this tutorial, but ensure you change it to the shared link

Let’s understand the code a little:

This tag is pretty much saying that it will take this source, a.k.a your video and make it absolute so it can cover the entire screen. You can also removed the ‘style’ part of the code and make it your own with Webflow’s css options. Then, it tells the broswer where to look for to find this video and the type of file .mp4. Keep in mind this file type MUST be the same as the one on your video. So, if your file type in the video on Dropbox is .mov, but you have .mp4 here, it won’t work.

So make sure your video is an .mp4!

Then, because we are loading this from Dropbox, it will take a few seconds for it to start loading. So we have an image as a place holder. That is where this code comes to play a role.

<img src="https://uploads-ssl.webflow.com/xxxx/xxxxx.jpg">

This will allow your image to show right away, and once the video is ready to be displayed, it will automatically change to the video.

This is a super easy way to host a HQ video as a background.

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on email
Email

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

2 layouts 1 CMS collection done in Webflow
  • CMS, Webflow
  • February 18, 2021

2 layouts from 1 CMS collection in Webflow

Learn how to create multiple layouts for your pages using only 1 CMS collection.
View this tutorial
Lightbox gallery from a CMS collection using Webflow
  • CMS, Webflow
  • February 16, 2021

Creating a gallery from your blog posts using Webflow

Creating a lightbox gallery from the photos you have posted in your blog posts in webflow!
View this tutorial
webflow wireframe ready to use
  • Webflow
  • February 5, 2021
  • No Comments

Ready to use Wireframe in Webflow

I created a public project that allows you to duplicate an entire wireframe that I used to design and develop my previous website
View this tutorial
building a CMS collection in WordPress no code needed!
  • CMS, WordPress
  • February 4, 2021
  • No Comments

no-code WordPress CMS collection

Creating a CMS collection in WordPress without any code and in just under 10 mins*
View this tutorial
Creating a BG video with dropbox for webflow
  • Styling, Webflow
  • February 4, 2021
  • No Comments

Creating a BG video in Webflow With Dropbox

In this post, I am sharing a quick tip to show how you can use dropbox to host your background videos in Webflow.
View this tutorial
Lets work together

Need to start a design project?

Schedule a 30-mins Call
Or email me studio.leopoldopirela@gmail.com

Copyright Β© 2021 L & S Company Group Inc. - πŸ’ͺ Built and Designed by Leopoldo Pirela

  • Terms of Use
  • Privacy Policy

Want more content like this in your inbox? πŸ––

Every week, I am sharing the latest tools I am using, deals I have found online, tutorials, and tips to help you improve the look and feel of websites and brands. πŸ‘‡

I hate spam probably more than most people, so I promise to not send you an insane amount of emails. Only where there is something important to share. Remember, you can also opt-out at any time!