How to Connect BunnyCDN Stream
Bunny Stream is a video platform that handles encoding, storage, and global delivery for you. Once you connect it to WP Media Player, you can browse your Bunny library from inside WordPress and stream your videos from Bunny’s CDN instead of your own server. Your videos load faster, and your hosting carries less load.
In this guide, you will learn how to:
- Find your Bunny API key
- Enable and configure Bunny Stream in WP Media Player
- Pick a Bunny video and embed it with a shortcode
When to Use Bunny Stream
Choose Bunny Stream when you want Bunny to take care of the heavy lifting:
- You want your videos encoded automatically into multiple qualities.
- You want one place to host, process, and deliver your video library.
- You do not want to prepare video files yourself before uploading them.
If you already have ready-to-play files and only need simple file hosting with CDN delivery, use BunnyCDN Storage instead.
Step 1: Get Your API Key from Bunny
- Log in to your Bunny account.
- Go to Account Settings > API Key.
- Copy the API key. You will paste it into WP Media Player in the next step.
Step 2: Enable Bunny Stream in WP Media Player
- In your WordPress dashboard, go to WP Media Player > Settings > Storage.
- Find the BunnyCDN Stream card and turn on its enable toggle. The card expands to show its configuration fields.
- Paste your API Key.
- Save your settings.
Your credentials are stored in your WordPress database and are only used to communicate with Bunny. They are never sent to CodeConfig or any third party.
Step 3: Add a Video from Bunny Stream
- Go to WP Media Player > Media > Add New.
- In the source picker, select Bunny Stream. It appears as a card alongside Media Library, YouTube, and Vimeo.
- Browse your hosted videos and pick the one you want.
The title, thumbnail, and video URL are loaded automatically.
Step 4: Choose a Preset and Save
- Choose a Preset and set the Aspect Ratio.
- Click Save Changes.
- Copy the shortcode from the field at the bottom of the editor. It looks like this:
[wp-media-player id="123"] - Paste the shortcode into any post, page, or widget.
The shortcode is the same as for any other media item. Your viewers watch the video streamed from Bunny’s CDN inside your chosen player skin.
Checklist: Make Sure Everything Works
- The BunnyCDN Stream card shows a connected status after you enter your API key.
- Bunny Stream appears in the source picker next to Media Library and your other sources.
- A video picked from your Bunny library loads with the correct title and thumbnail.
- Playback works on the frontend and streams from the CDN.
Next Steps
- How to connect BunnyCDN Storage if you also host ready-to-play files.
- How to add chapters to a video to give viewers a navigable timeline.