Help Centre

Blocks Reference

Hosting and Embedding Videos with Bunny.net

Bunny.net is an affordable, reliable place to host your course videos.

Bunny.net is an affordable, reliable place to host your course videos. Hosting video yourself — rather than relying on a platform's built-in storage — gives you control, fast delivery worldwide, and a stable URL that won't expire. This guide covers signing up, uploading a video, getting its direct URL, and embedding it into a course module.

Why host video on Bunny.net

Video files are large, and serving them reliably to learners around the world is its own problem. Bunny.net solves it cheaply: you upload once, and Bunny delivers the video fast from servers close to each learner. You get a permanent, direct video URL you can drop straight into a course.

Step 1: Create a Bunny.net account

  1. Go to bunny.net and sign up for an account.
  2. Add a payment method. Bunny.net is pay-as-you-go and inexpensive, but it does require billing details to use storage and delivery.
  3. Verify your email if prompted.

Step 2: Create a Storage Zone

A Storage Zone is where your video files live.

  1. In the Bunny.net dashboard, open Storage and create a new Storage Zone.
  2. Give it a name (for example, my-course-videos).
  3. Choose a main storage region close to most of your learners. You can enable additional replication regions later if your audience is global.

Step 3: Connect a Pull Zone (for delivery)

A Pull Zone is what serves your files to learners over Bunny's fast global network, and it's what gives you a clean public URL.

  1. When creating or editing your Storage Zone, connect a Pull Zone (Bunny will prompt you, or create one under the CDN section and link it to your Storage Zone).
  2. Note the Pull Zone hostname — it looks like your-zone.b-cdn.net. This is the domain your video URLs will use.

Step 4: Upload your video

  1. Open your Storage Zone in the Bunny.net dashboard.
  2. Upload your video file. Use an MP4 file encoded with H.264 video and AAC audio for the widest compatibility — this plays on every modern browser, phone, and tablet. Avoid other codecs, which may not play on mobile devices.
  3. Wait for the upload to finish. Larger files take longer.

Step 5: Get the direct video URL

  1. Once uploaded, find your video file in the Storage Zone.
  2. Copy its public URL. It will be your Pull Zone hostname followed by the file path, for example:

https://your-zone.b-cdn.net/videos/my-lesson.mp4

  1. Paste that URL into your browser's address bar to confirm it plays. If it plays in the browser, it will work in your course.

Step 6: Embed the video in a course module

  1. In your course editor, open the module where you want the video.
  2. Add a Video block.
  3. Paste the direct Bunny.net URL (the https://your-zone.b-cdn.net/...mp4 link) into the block.
  4. The video appears inline in the module.

That's it. The video is now hosted on Bunny.net, delivered fast worldwide, and embedded in your course from a stable URL that won't expire.

Troubleshooting

The video shows a broken or crossed-out play button on mobile. This almost always means the file isn't encoded for mobile playback. Re-export the video as MP4 with H.264 video and AAC audio, re-upload it to Bunny.net, and update the URL in your course.

The video doesn't appear at all. Open the Bunny.net URL directly in a browser. If it doesn't play there, the file didn't upload correctly or the URL is wrong — re-check the path. If it plays in the browser but not in the course, confirm you pasted the full URL including https:// and the .mp4 ending.

The URL works but loads slowly. Make sure you're using the Pull Zone URL (b-cdn.net), not a direct storage URL. The Pull Zone is what provides fast, cached delivery.