# Instagram TV 一键内嵌

**URL:** https://meta.discourse.org/t/instagram-tv-oneboxing/172784
**Category:** Feature
**Created:** [2020年十二月9日 17:34 UTC](https://meta.discourse.org/t/instagram-tv-oneboxing/172784 "2020-12-09T17:34:36Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![renato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/renato/32/383632_2.png) [@renato](https://meta.discourse.org/u/renato)
#### Post date: [2021年一月21日 02:24 UTC](https://meta.discourse.org/t/instagram-tv-oneboxing/172784/7 "2021-01-21T02:24:15Z")

</div>

使用 oEmbed API 会返回一个 `html` 属性，我注意到有一个[旧的讨论](https://meta.discourse.org/t/instagram-embed-plugin-is-it-possible/91222)提议使用这个返回的 `html`，但最终倾向于当前的解决方案。

我理解当前的方法更简洁、更安全，因此将其保留在核心中是合理的。

这并非我目前迫切需要的功能，但如果将来需要，是否可以通过自定义插件来实现这种“官方”的 Instagram 嵌入方式（强制固定高度，并回退到核心解决方案）？我能否为同一个 `matches_regexp` 添加另一个 Onebox 引擎，还是应该尝试对 `Onebox::Engine::InstagramOnebox` 进行猴子补丁（monkey patching）？

谢谢。

---

_[View the full topic](https://meta.discourse.org/t/instagram-tv-oneboxing/172784)._
