Facebook OneBox / iFrame 不再内联播放?

It seems like something have changed at Facebook that neither OneBox nor iframe is playing inline how it’s supposed to. This was ok yesterday but just a while ago every FB source opens a new window and requires a login to Facebook.

Can anyone confirm this?

Additional note:
Other sources I have tested that plays inline fine includes YouTube, Twitch and direct from Amazon S3.

2 个赞

Post an example in a reply here.

Video #1: MacOS on Chrome
Note #1: Plays inline
https://dl.airtable.com/.attachments/649fae3b43aad6bb987e91303f69431f/9800d3b1/IMG_1914.MOV

Video #2: Android 10 on Chrome
Note #2: Does not play inline
https://dl.airtable.com/.attachments/ba1fdc591a642c72e71975999d8deeab/b45a21d0/IMG_1915.MOV

Update:

Same problem goes with this FB post. This somewhat confirms that mobile phone not playing FB embeds inline at the moment. Is there a solution?

Can you post those Facebook links here in Meta so we can better investigate?

2 个赞

Hi @osioke

Here pasting the links I mentioned
https://web.facebook.com/watch/?v=2748373008765182
https://web.facebook.com/watch/?v=657169254840569


They both play fine for me here on Meta using my mobile phone and checking across DiscourseHub, Chrome and Safari. Firefox doesn’t show the embeds though, but generally my Firefox on iOS doesn’t do well with videos.

1 个赞

我有一些关于 Instagram/Facebook 嵌入式内容的问题。


当我粘贴 Facebook 链接时,会收到 Facebook 登录消息,而且我很难弄清楚消息的来源。

示例:

https://www.facebook.com/RezzaTangoPoitiers/posts/419297369696608

这是一条公开帖子,在未登录 Facebook 的情况下也可以看到。

  1. 那么问题出在哪里?我该如何嵌入公开的 Facebook 帖子或视频?我尝试使用搜索功能,但找不到任何清晰的解释或解决方案……还有很多技术性很强的消息。:man_shrugging:

我注意到 Discourse 中有一个名为 facebook_app_access_token 的设置,其描述是:

从您的 Facebook 应用 ID 和密钥生成的令牌。用于生成 Instagram 的 onebox。

  1. 这个令牌是从这里生成的吗?https://developers.facebook.com/tools/explorer/
    它与 Facebook 帖子无法嵌入有关吗?

  2. 另外,我的 facebook_app_access_token 字段是空的,但 Instagram 的 onebox 在我的论坛上仍然可以正常工作,那么它的作用是什么?

Instagram 视频也可以正常工作:

  1. 不过这里的 iframe 高度不正确。下方有太多空白。这是 Discourse 的问题吗?
3 个赞