How can I make the videos on my Webflow online store automatically download instead of opening in an in-browser video player when the user clicks on the download button on the order confirmation page?

TL;DR
  • Host videos externally and obtain direct download links.
  • Update button/link URLs with these download links and add the download attribute.
  • Ensure file permissions allow downloading.
  • Modify Order Confirmation page to include new download links.

To make videos on your Webflow online store automatically download instead of playing in the browser, you need to adjust the way links or buttons interact with the video files. Here's how to do it:

1. Host Your Videos Externally

  • Upload your videos to a storage service like Amazon S3, Google Cloud Storage, or Dropbox.
  • Ensure these services allow you to create direct download links.

2. Update the Video Links

  • Edit the links or buttons that currently open the video in a browser.
  • Replace their URLs with the direct download URLs provided by the external hosting service.

3. Set the download Attribute

  • If you're using an <a> tag for the download button, add the download attribute to it.
  • This signals browsers to download the file instead of playing it.

4. Verify File Permissions

  • Ensure the video files have the right permissions set to allow downloading.
  • Public access may be needed, depending on the hosting service.

5. Update Order Confirmation Page

  • Go to Project Settings and navigate to the Order Confirmation page.
  • Ensure that your new download links and any added HTML are correctly embedded here.

Summary

To ensure videos download automatically, host them externally, use direct download links, and apply the download attribute to links. Check permissions and update links on your Order Confirmation page accordingly.

Rate this answer

Other Webflow Questions