在阅读了 GitHub - discourse/onebox: (DEPRECATED) A gem for turning URLs into website previews 后
看起来,如果您只是将 odysee.com 加入白名单,它应该就可以工作了:
- 域名必须被允许列出
- 您要进行 onebox 的 URL 不能是根 URL(例如,
http://example.com将不起作用,但http://example.com/page可以) - 如果 oneboxed URL 以 oEmbed 和
rich类型进行响应:html内容必须包含一个<iframe>。没有 iframe 的响应将不会被 onebox。
这是逐个网站发生的,还是在其他地方发生的?