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.Select a video
Choose an existing video from your Stream library or upload a new one directly from the block.
Shortcode
For classic editor pages, WooCommerce product descriptions, or anywhere blocks aren’t supported, use thebunnycdn_stream_video shortcode.
| Parameter | Required | Description |
|---|---|---|
library | Yes | Your Stream library ID (numeric) |
id | Yes | The video ID (UUID format) |
responsive | No | Set to true for responsive sizing (default) |
Example
WooCommerce
To embed a video in a WooCommerce product description, paste the shortcode directly into the product’s description field:Supported parameters
All Stream embed parameters are supported as shortcode attributes. Common options include:| Parameter | Values | Description |
|---|---|---|
autoplay | true, false | Start playing automatically |
muted | true, false | Start in mute mode |
loop | true, false | Replay after the video ends |
preload | true, false | Pre-download video files |
showSpeed | true, false | Show playback speed control |
captions | caption short-code | Default captions language |
t | Xs, 1h20m45s, hh:mm:ss | Video start time |