# Facebook OneBox / iFrame speelt niet meer inline?

**URL:** https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037
**Category:** Support
**Created:** [13 oktober 2020 om 00:36 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037 "2020-10-13T00:36:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![audiotech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/audiotech/32/196848_2.png) [@audiotech](https://meta.discourse.org/u/audiotech)
#### Post date: [13 oktober 2020 om 00:36 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/1 "2020-10-13T00:36:35Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [13 oktober 2020 om 02:55 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/2 "2020-10-13T02:55:02Z")

</div>

Post an example in a reply here.

---

<div class="post-metadata">

### Author: ![audiotech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/audiotech/32/196848_2.png) [@audiotech](https://meta.discourse.org/u/audiotech)
#### Post date: [13 oktober 2020 om 13:28 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/3 "2020-10-13T13:28:43Z")

</div>

Video #1: MacOS on Chrome  
Note #1: Plays inline  
[https://dl.airtable.com/.attachments/649fae3b43aad6bb987e91303f69431f/9800d3b1/IMG\_1914.MOV](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](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?

> [@Video embeds from facebook.com and other sites fail](https://meta.discourse.org/t/video-embeds-from-facebook-com-and-other-sites-fail/149366/27):
>
> Facebook video oneboxing now works via: [https://github.com/discourse/onebox/commit/dabced7048814a9d41d3f7224f38a7746f6c3a56](https://github.com/discourse/onebox/commit/dabced7048814a9d41d3f7224f38a7746f6c3a56) Demo:

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [13 oktober 2020 om 20:56 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/4 "2020-10-13T20:56:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![audiotech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/audiotech/32/196848_2.png) [@audiotech](https://meta.discourse.org/u/audiotech)
#### Post date: [13 oktober 2020 om 23:18 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/5 "2020-10-13T23:18:57Z")

</div>

Hi @osioke

Here pasting the links I mentioned  
[Discover Popular Videos | Facebook](https://web.facebook.com/watch/?v=2748373008765182)  
[553K views · 8.8K reactions | China hid the severity of COVID-19 to buy time to hoard medical supplies, Amazon’s VP resigns after protesting workers get fired, murder hornets hit North America, and Kim Jong-un reemerges. | The Daily Show](https://web.facebook.com/watch/?v=657169254840569)

> **[Discover Popular Videos | Facebook](https://www.facebook.com/watch/?v=2748373008765182&_rdc=1&_rdr)**
>
> Video is the place to enjoy videos and shows together. Watch the latest reels, discover original shows and catch up with your favorite creators.

> **[553K views · 8.8K reactions | China hid the severity of COVID-19 to buy time...](https://www.facebook.com/thedailyshow/videos/657169254840569/)**
>
> China hid the severity of COVID-19 to buy time to hoard medical supplies, Amazon’s VP resigns after protesting workers get fired, murder hornets hit North America, and Kim Jong-un reemerges.

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [14 oktober 2020 om 07:08 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/6 "2020-10-14T07:08:14Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [7 januari 2022 om 20:08 UTC](https://meta.discourse.org/t/facebook-onebox-iframe-no-longer-plays-inline/167037/8 "2022-01-07T20:08:48Z")

</div>

I have several questions regarding Instagram/Facebook embedding.

* * *

I have the Facebook login message when I paste Facebook link and I struggle to see where does it come from.

Example:

> **[Rezza Tango](https://www.facebook.com/RezzaTangoPoitiers/posts/419297369696608)**
>
> Milonga Poema
> Milonga de Noël le 18 décembre 🎉🎊💃🏼🕺

This is a public post that can be seen when logged out from Facebook.

1. So what’s the issue here? How can I embed public Facebook posts or videos? I tried using the search, but I couldn’t find any clear explanation or solution… A lot of highly technical messages also. 🤷‍♂️

* * *

I see that there is a Discourse setting names **facebook\_app\_access\_token** , which description is:

> A token generated from your Facebook app ID and secret. Used to generate Instagram oneboxes.

1. Is the token to be generated from here? [https://developers.facebook.com/tools/explorer/](https://developers.facebook.com/tools/explorer/)  
Does it has any relationship with the fact that Facebook posts won’t embed?

2. Also, Instagram oneboxes works on my forum while my **facebook\_app\_access\_token** field is empty, so what is the purpose?

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/a/8a700a866d8de0689157c4c1a5c797d87ea36cba.jpeg)

Also works for Instagram videos:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/a/ba9fb906487dcce9583fba6fa1556510bf2446dd.jpeg)

1. Though the iframe height is wrong here. Too much white space below. Is that a Discourse issue?
