🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 22, 2026

How to Send Gravity Forms Videos to Bunny Stream, Cloudflare Stream or Mux

GravityExtra
How to Send Gravity Forms Videos to Bunny Stream, Cloudflare Stream or Mux

A form that asks for a video is a form that eats disk space. One short clip from a phone is already tens of megabytes, a screen recording of a bug can be hundreds, and a customer story can be a gigabyte. Gravity Forms stores every upload in your WordPress uploads folder, so the videos pile up next to your images, slow down your backups and use bandwidth every time somebody opens an entry. This guide shows how to send those videos to a video platform automatically, keep the playback link with the entry and still have a form that submits in a blink.

Why Form Videos Do Not Belong on Your Web Server

A web server is good at pages. It is not built to stream video. A video needs several encodings for different screens, adaptive streaming so it plays on a slow connection and a content delivery network so it starts fast in every country. When the file sits in your uploads folder, the person who reviews the entry downloads it in full, often over a slow office connection, and then needs a player that understands the format. Phone videos in particular come in formats that many browsers cannot play.

  • Disk space. Shared hosting plans have a limited quota, and videos use it up quickly.
  • Backups. Every backup copies every video again, so backups get slow and expensive.
  • Playback. A raw file is not adaptive. It stalls on a weak connection and it may not play at all in the browser of the reviewer.
  • Transfer. Each view costs your server bandwidth, which hurts when several people open the same entry.
  • Risk. A large public file in the uploads folder is a link that anybody who guesses it can open.

Three Platforms That Solve It

Video platforms take the raw file, encode it and play it from a global network. Three of them are popular with developers because they have a clean API and fair pricing.

  • Bunny Stream is a low-cost video library with a CDN, an embeddable player and a simple API. You create a video, upload the file and read its status.
  • Cloudflare Stream stores, encodes and delivers video from the same network that serves a large part of the web, with signed URLs for private videos.
  • Mux is a video API for products that need detailed control, with direct uploads, playback IDs and signed playback.

Each one has an API for uploading a file from a server. The missing piece is the glue between Gravity Forms and that API, and that is what the Gravity Forms Video Offload Premium Add-on provides.

The Video Offload settings page of Gravity Forms with three panels for Bunny Stream, Cloudflare Stream and Mux, each with its account fields and a key field that shows as dots
One settings page for the three platforms. Saved keys are encrypted and never shown again.

How the Add-on Works

The add-on is a Gravity Forms feed. You add a feed to a form, choose a platform and tick the fields that hold videos. When a visitor submits the form, the add-on creates one job for every video file and schedules it. That is all that happens during the submission, so the confirmation appears at once, whatever the platform is doing.

In the background a worker, which is Action Scheduler or WP-Cron, picks up the job and moves it step by step: it creates the video on the platform, sends the file, then asks for the status until the platform says that the video is ready. The job has one of five statuses: queued, uploading, processing, ready or failed. Each change is written to the entry as a note, so you see what happened without opening a log.

Big Files and Bad Days

Anything can go wrong between your server and a platform: a timeout, a rate limit, a short outage. The add-on expects it. A failed step is tried again after 30 seconds, then after a minute, two minutes and so on, up to an hour, for five attempts. If the platform says that your key is wrong, retrying cannot help, so the job fails at once and tells you why. A video that was already created on the platform is reused on the next attempt, so you never end up with duplicates.

Large files are sent in pieces. Bunny Stream and Cloudflare Stream use the tus resumable upload protocol, and Mux uses a resumable upload with byte ranges. The add-on sends pieces of eight megabytes and stops when its time budget for one run is used. The next run continues from the saved position, so a file of several gigabytes does not need a long PHP time limit and an interrupted upload does not start over.

What’s New in 1.1.0: Vimeo and YouTube

Version 1.1.0 adds two destinations next to Bunny Stream, Cloudflare Stream and Mux. If your team already lives on Vimeo or your videos belong on your YouTube channel, a form can now send them there in the background, with the same queue, retries, statuses and entry player as before.

  • Vimeo uses your own personal access token (scopes public, private, upload and edit). The file goes up with Vimeo’s resumable method, and the entry gets the Vimeo link and player link once Vimeo says the video is available.
  • YouTube uses your own Google Cloud OAuth client. You connect your channel once with a button; after that every upload runs on the server through the resumable upload of the YouTube Data API.
  • Privacy per feed: private, unlisted or public on both platforms, private by default.

A short tutorial for YouTube: enable the YouTube Data API v3 in a Google Cloud project, set up the consent screen, create an OAuth client of the type Web application and add the redirect address that the add-on shows. Paste the client ID and secret under Forms, Settings, Video Offload, click Connect a YouTube channel and allow both permissions. Then open a form, add a Video Offload feed, choose YouTube, tick the field that holds the video and pick the privacy. The next submission is queued, uploaded and checked until YouTube has processed it, and the watch link lands in the entry.

For Vimeo it is shorter: generate a personal access token with the scopes listed above, paste it into the Vimeo panel and choose Vimeo in the feed. Vimeo Free members first need to ask Vimeo for API upload access.

Be aware of the limits that come from the platforms, not from the add-on: a Google project in testing gets a connection that stops after 7 days and may see an “unverified app” screen, and a project can upload 100 videos per day by default. Vimeo plans have their own upload quotas. When a limit is reached, the video fails with a clear note and the Try again button in the entry sends it later. Full setup steps are in the Video Offload documentation, and the add-on is on the Gravity Forms Video Offload Premium Add-on page.

A Video Offload feed with YouTube as the platform and YouTube privacy set to Unlisted
Choose YouTube and the privacy in the feed.

Set It Up Step by Step

  1. Install the add-on and activate your license key under Forms, Settings, Video Offload.
  2. Enter the keys of the platform you use. For Bunny Stream that is the library ID and the library API key. For Cloudflare Stream it is the account ID and an API token with the Stream edit permission. For Mux it is the access token ID and secret.
  3. Open your form, go to Settings, Video Offload and add a feed.
  4. Choose the platform and tick the File Upload, Video Recording or Screen Recording fields that should be sent.
  5. Optional: give the video a title with merge tags, choose a field that should receive the playback link and switch on private playback.
  6. Send a test entry with a short video and watch the status in the entry.
The Video Offload feed settings of a form: name, video platform, the fields that hold videos, the video title, private playback, the Mux option, the field for the link and the switch to delete the local file
The feed of one form: choose the platform, the fields with videos and what should happen to the local file.

Because the add-on reads the files that Gravity Forms already stored, it works with any field that produces a video file. That includes the File Upload field and the GravityExtra Video Recording and Screen Recording fields, so visitors can record a message in the browser and the recording goes to your video platform without ever living on your server for long.

Watch the Video Inside the Entry

Open an entry and the Video Offload box shows each video with its platform and status. When a video is ready the platform player appears right there, so the person who handles the entry presses play and watches. If a video failed, the box shows the reason and a Try again button. Nothing has to be copied or downloaded.

A Gravity Forms entry page with the Video Offload box showing three videos with the status Ready and the embedded player of each platform
The entry shows each video with its status and the player, so you can watch it without leaving the entry.

Put the Link in an Email or a Confirmation

Merge tags make the video part of your workflow. The tag with the field ID and the word url gives the playback link, the word embed gives the player and the word status tells you where the video is. You can use them in notifications, confirmations and anything else that accepts Gravity Forms merge tags. Because the platform needs a moment to encode the video, the status is still queued when the first notification goes out. For a message with the final link, send it later from a workflow, or hook the gfvoff_video_ready action, which runs for each video that is ready.

Keep Private Videos Private

Some videos are not meant for the public: a customer testimonial before it is approved, a support recording that shows a screen with account details, a job application. Turn on private playback in the feed and each platform switches to signed links. Bunny Stream uses a token made from the token authentication key, Cloudflare Stream requires signed URLs and issues a short-lived token on demand, and Mux uses a signed playback ID with a token signed by your signing key. The add-on makes a fresh link each time you open the entry, so no permanent address is stored.

Free the Disk, Safely

Once the video lives on the platform, the local copy is only dead weight. The add-on can delete it, but only when every rule holds. The platform must have reported the video as ready. No other feed that uses the same file may still be waiting. And the file must be inside the Gravity Forms upload folder. A failed or processing video never loses its file, and a note in the entry records the deletion. Keep in mind that the original file link in the entry stops working afterwards, so the player becomes the way to watch the video.

Webhooks, Keys and Safety

Polling finishes every video, but webhooks make the status change as soon as the platform is done. Cloudflare Stream and Mux sign their webhooks with a secret and a timestamp, and Bunny Stream signs the body with the read-only key of the library. The add-on checks the signature, refuses old requests and answers every bad call with the same empty 403. It also never trusts the content of a webhook: it only uses it to find the job and then reads the real status from the platform API.

Your API keys are valuable, so they are encrypted with a key derived from your site salts before they are saved. They are never printed in the settings page, never written to logs and never included in an error message. Every request to a platform uses HTTPS with certificate checks.

A Checklist Before You Go Live

  • The keys are saved and the platform shows an empty library for the test.
  • A test entry with a small video reaches the status ready.
  • The player in the entry plays the video.
  • Your cron runs, either WP-Cron on a busy site or a real cron job on a quiet one.
  • Private playback is on for videos that should not be public, and token authentication is on at Bunny Stream for those.
  • You decided whether to delete local files and told your team that the original link stops working.

Frequently Asked Questions

Does the visitor wait while the video is sent?

No. The form is submitted and confirmed first. The video is sent in the background, and a large file may take several minutes without anybody noticing.

Which platform should I choose?

Choose the one you already use or the one whose price and features fit. The add-on treats the three the same way from the form to the entry, and you can change the platform of a feed at any time for new entries.

Can the same form send to two platforms?

Yes. Add a second feed on the form with the other platform. Each feed makes its own job.

What if a video is not a video?

Only files with a video extension are sent. Pictures and documents in the same field are skipped, and a file that the platform cannot decode ends as failed with the reason.

Does it work with the Video Recording field?

Yes. The recording is stored as a file in the Gravity Forms upload folder like any other upload, and the feed picks it up from there.

Can I send the videos to Vimeo or YouTube?

Yes, since version 1.1.0. Vimeo uses your own access token and YouTube your own Google Cloud OAuth client, so the uploads run under your account and your quota. Google limits a new project to 100 uploads per day by default, and a project in testing must reconnect every 7 days.

What does it cost to use the platforms?

The add-on only sends the files. Each platform has its own plan, and you pay them directly.

Videos from forms are valuable, and they are heavy. With a feed that sends them to a video platform in the background, you keep the form fast, the server light and the video one click away in the entry.

See the Video Offload add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr