# Embed Bunny Stream videos doesn't work

**URL:** <https://meta.discourse.org/t/embed-bunny-stream-videos-doesnt-work/262838>\
**Category:** Product Support\
**Created:** [April 25, 2023, 3:52pm UTC](https://meta.discourse.org/t/embed-bunny-stream-videos-doesnt-work/262838 "2023-04-25T15:52:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [April 25, 2023, 10:21pm UTC](https://meta.discourse.org/t/embed-bunny-stream-videos-doesnt-work/262838/5 "2023-04-25T22:21:43Z")

</div>

I’m not sure an iframe here can properly resize the video.

Style attributes are stripped out from the `<iframe>` tag, so setting sizes here won’t have any effect, unless you add the CSS in your own theme. But it won’t do magic.

If you set the iframe width to 100% of the post container, it will render like this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/d/6/0d64a17fef03956a5c1099770a5bc287382e6f1f.jpeg)

And you can’t set an automatic height that will depend on the video’s ratio.

I think there’s no straightforward solution other than using the small video (don’t put the `<div style="position: relative; padding-top: 56.25%;">` part as it will be removed when you post anyway), and people who want to see the video in a larger format will click on the fullscreen icon on the bottom right of the video.

You can also post on #Contribute > Feature to ask if a onebox support for Bunny stream videos could be made, but unless there’s a high demand (which I doubt), it will likely belong to the #pr-welcome tag, which means that the team won’t add the feature themselves but anyone with a bit of coding knowledge is welcome to code this feature so it can be added into Discourse eventually.

---

_[View the full topic](https://meta.discourse.org/t/embed-bunny-stream-videos-doesnt-work/262838)._
