# 允许嵌入来自 Bunny CDN 流媒体服务的视频

**URL:** <https://meta.discourse.org/t/allow-embedded-video-from-bunny-cdn-stream-service/398491>\
**Category:** Support\
**Tags:** cdn\
**Created:** [2026年三月15日 19:01 UTC](https://meta.discourse.org/t/allow-embedded-video-from-bunny-cdn-stream-service/398491 "2026-03-15T19:01:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2026年三月16日 21:26 UTC](https://meta.discourse.org/t/allow-embedded-video-from-bunny-cdn-stream-service/398491/2 "2026-03-16T21:26:59Z")

</div>

> [@Timelord](#):
>
> 当我尝试通过 URL 嵌入时，我得到一个通用链接，视频没有被嵌入

Bunny 的 CDN 服务 [提供了说明](https://docs.bunny.net/stream/embedding)，说明了如何正确操作：

> 嵌入视频需要将一个 `<iframe>` 元素放置在您的网页上。

您需要将它们添加到 `allowed iframes` 设置中，然后它就可以工作了：

```plaintext
<iframe> src="https://player.mediadelivery.net/embed/617966/7088fc08-ea3d-4126-840d-c47aa324b637?autoplay=true"></iframe>

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/b/2/db22969466cc3f0cd41218eeb900f5817263db8f.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/allow-embedded-video-from-bunny-cdn-stream-service/398491)._
