# 我如何能从 'https://odysee.com/' 一键嵌入视频？

**URL:** https://meta.discourse.org/t/how-can-i-onebox-video-from-https-odysee-com/321482
**Category:** Site feedback
**Created:** [2024年八月13日 14:55 UTC](https://meta.discourse.org/t/how-can-i-onebox-video-from-https-odysee-com/321482 "2024-08-13T14:55:22Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2024年八月13日 16:36 UTC](https://meta.discourse.org/t/how-can-i-onebox-video-from-https-odysee-com/321482/3 "2024-08-13T16:36:52Z")

</div>

> [@Bathinda](#):
>
> 据我所知，原因可能是您阻止了 OdySee 视频的“OneBoxing”。

不，这有一个关于此的现有主题，它与他们的 opengraph 标签的结构有关……如果您将他们的域名添加到站点设置 `allowed iframes` 中，它就会起作用。

> [@Support Odysee.com embeds](https://meta.discourse.org/t/support-odysee-com-embeds/219765/10?u=awesomerobot):
>
> You changed the og:video:type from video/mp4 to text/html so it gets our standard html article onebox. If you want to embed a video file, you need to return a video file on the og:video tag and set the correct value for og:video:type. If you want to embed arbitrary HTML that contains a custom video player, you need to respect the onebox rules: Your oembed must return an iframe (this appears to be ok) The site must be allowed manually in each Discourse instance that wants to use it. Le…

我可以确认它仍然有效：

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/c/8/1c83a4b2921e6ddcbf0e6fcd8bdb52642ffee5c0.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-onebox-video-from-https-odysee-com/321482)._
