# 支持 Odysee.com 嵌入

**URL:** https://meta.discourse.org/t/support-odysee-com-embeds/219765
**Category:** Feature
**Tags:** web3
**Created:** [2022年三月1日 23:22 UTC](https://meta.discourse.org/t/support-odysee-com-embeds/219765 "2022-03-01T23:22:25Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2022年三月2日 18:32 UTC](https://meta.discourse.org/t/support-odysee-com-embeds/219765/10 "2022-03-02T18:32:02Z")

</div>

> [@Thomas\_Zarebczan](#):
>
> 现在它做到了……也许你已经列入了白名单。但是的，没有玩家。[曼哈顿地区检察官为何破坏对唐纳德·特朗普的调查？](https://odysee.com/@TheRingOfFire:c/why-is-the-manhattan-da-sabotaging-the:8)

你将 `og:video:type` 从 `video/mp4` 改为了 `text/html`，因此它会获取我们的标准 html 文章 onebox。

> [@Thomas\_Zarebczan](#):
>
> 目标是让它能够在网站上直接播放。

- 如果你想嵌入一个视频文件，你需要在 `og:video` 标签中返回一个视频文件，并设置正确的 `og:video:type` 值。

- 如果你想嵌入包含自定义视频播放器的任意 HTML，你需要遵守 onebox 规则：

> **[Does “The Batman” Live Up to The Hype? | Spoiler Free Review](https://odysee.com/@MidnightsEdge:d/does-%E2%80%9Cthe-batman%E2%80%9D-live-up-to-the:a)**
>
> \#TheBatman #RobertPattinson #MattReeves #DC

看起来它有效，前提是该网站将 `https://odysse.com` 添加到 `allowed iframes` 网站设置中。

---

_[View the full topic](https://meta.discourse.org/t/support-odysee-com-embeds/219765)._
