Webflow sync, pageviews & more.
NEW

How can I embed a video from Dropbox on my Webflow site and ensure it works in Firefox and Safari?

TL;DR
  • Upload your video to Dropbox, create a share link, and modify it to a direct download URL using dl.dropboxusercontent.com.
  • In Webflow, add an Embed element with an HTML5 <video> tag using the direct link, ensuring it includes type="video/mp4" and attributes like playsinline, muted, and loop for browser compatibility.

To embed a video from Dropbox on your Webflow site and ensure compatibility with Firefox and Safari, follow the steps below to get the correct link and use an HTML Embed with video tags that work cross-browser.

1. Upload Video to Dropbox

  • Upload your video file (e.g., .mp4) to your Dropbox account.
  • Right-click the file and select "Share".
  • Click "Create link" (if not already created), then click "Copy link".
  • Dropbox share links don’t stream by default and open in a Dropbox viewer.
  • Convert the link to a direct download URL by replacing www.dropbox.com with dl.dropboxusercontent.com and removing ?dl=0.

Example:
Original:
https://www.dropbox.com/s/abcd1234xyz/video.mp4?dl=0

Convert to:
https://dl.dropboxusercontent.com/s/abcd1234xyz/video.mp4

Note: Large videos may not load due to Dropbox’s download size/traffic limits.

3. Embed the Video in Webflow

  • In Webflow, drag an Embed element onto the canvas.

  • Add the following code using the new Dropbox URL:

    `

    Your browser does not support the video tag. \`
  • Ensure the type="video/mp4" is included. Firefox and Safari rely on this to determine video compatibility.

4. Browser Compatibility Considerations

  • mp4 (H.264/AAC) is widely supported across all major browsers.
  • Add attributes like preload, playsinline, muted, loop depending on desired playback behavior.
  • Safari on iOS may block autoplay unless the video is both muted and playsinline.
  • Firefox may block auto-play depending on user settings — use controls to ensure the video can still play manually.

Summary

To embed a Dropbox video in Webflow with full browser support, convert your Dropbox share link to a direct URL, use the HTML5 <video> tag in Webflow’s Embed element, and ensure the video uses the MP4 format with proper attributes for Safari and Firefox compatibility.

Rate this answer

Other Webflow Questions