Skip to main content
The bunny.net WordPress plugin includes built-in support for Bunny Stream, allowing you to upload and embed videos directly from the WordPress editor.

Stream Video block

The plugin adds a bunny.net Stream Video block to the WordPress block editor. Use it to upload new videos or embed existing ones from your Stream library.
1

Add the block

In the block editor, click the + inserter and search for bunny.net Stream Video.
2

Select a video

Choose an existing video from your Stream library or upload a new one directly from the block.
3

Configure playback

Use the block settings panel to adjust playback options like autoplay, muting, and looping.

Shortcode

For classic editor pages, WooCommerce product descriptions, or anywhere blocks aren’t supported, use the bunnycdn_stream_video shortcode.
[bunnycdn_stream_video library=LIBRARY_ID id="VIDEO_ID"]
ParameterRequiredDescription
libraryYesYour Stream library ID (numeric)
idYesThe video ID (UUID format)
responsiveNoSet to true for responsive sizing (default)

Example

[bunnycdn_stream_video library=197133 id="dc48a09e-d9bb-420a-83d7-72dc2304c034" responsive=true]

WooCommerce

To embed a video in a WooCommerce product description, paste the shortcode directly into the product’s description field:
[bunnycdn_stream_video library=197133 id="dc48a09e-d9bb-420a-83d7-72dc2304c034" responsive=true]
You can find your library ID and video ID in the Bunny Stream dashboard.

Supported parameters

All Stream embed parameters are supported as shortcode attributes. Common options include:
ParameterValuesDescription
autoplaytrue, falseStart playing automatically
mutedtrue, falseStart in mute mode
looptrue, falseReplay after the video ends
preloadtrue, falsePre-download video files
showSpeedtrue, falseShow playback speed control
captionscaption short-codeDefault captions language
tXs, 1h20m45s, hh:mm:ssVideo start time
For the full list, see Embedding videos.