
Stream Secure for Bunny.net
Master Secure Video Delivery with Bunny.net
Lock down your video streams and downloads with time‑limited, token‑authenticated URLs. No more leaks. No more hotspots. Just rock‑solid content protection powered by Bunny.net.
- Hands‑On Shortcodes: Generate expiring links and secure iFrame embeds in seconds.
- Zero‑Trust Streaming: Prevent hotlinking, unauthorized shares, and link guessing.
- Full Elementor Integration: Drag‑and‑drop your protected videos anywhere on your site.
Whether you’re a course creator, membership site owner, or digital publisher—you’ll walk away bulletproofing your media distribution like a pro.
Wonder how good it is?
Usage is pretty simple
Configure your keys:
Go to Stream Secure → Settings and paste in your Bunny.net
– URL Token Key for downloads,
– Video Token Key for embeds,
and optionally your default Stream Library ID
Generate a secure download link:
Edit any page or post and add
bunny_secure_url url="https://your-pull-zone.b-cdn.net/file.zip" expires="3600"
Visitors get a “Download” button that expires automatically.
- To Embed protected video (Premium):
Use
bunny_secure_video_embed video_id="YOUR_VIDEO_ID" expires="3600" responsive="true" autoplay="false"
Your video will only play if the signed token is valid.
- Customize on the fly: Tweak
expires
,autoplay
,loop
,muted
, andresponsive
attributes to suit your needs. - Enjoy peace of mind: All tokens are signed with SHA‑256 and verified by Bunny.net—no link guessing, no hotlinking.
Example usage:
[/] Shortcode to secure URL for file in pull zone
bunny_secure_url url="https://pullzonename.b-cdn.net/d/package.zip" expires="3600"

[/] Shortcode to secure video embed from Bunny Stream
Below example with default values except video_id that is always unique
bunny_secure_video_embed video_id="7e679d73-786e-4086-b40a-cbf85184718d5" zone="123456" expires="3600" autoplay="true" loop="true" muted="false" preload="true" responsive="true" loading="lazy"
If you want to set custom video frame size then set false responsive, width and height
bunny_secure_video_embed video_id="7e679d73-786e-4086-b40a-cbf85184718d5" zone="123456" responsive="false" loading="lazy" width="720" height="540"
