Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 1, 20231 yr I have an RSS Feed Import from Facebook that contains videos embedded in an iframe. What is generated by IPS does not allow for playing the video, but the original iframe does. Note I replaced the Facebook page URL with "somefacebookpage" Original: <iframe src="https://www.facebook.com/plugins/video.php?href=somefacebookpage&width=405&height=720&show_text=false" width="405" height="720" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allow="encrypted-media" allowTransparency="true" allowFullScreen="true"></iframe> What's rendered by IPS after import: <iframe width="405" height="720" style="border:none;" scrolling="no" frameborder="0" allowfullscreen="true"></iframe> I can take the original iframe and replace the IPS generated one via Developer Tools and it works ok.
June 1, 20231 yr This post was recognized by Marc! DawPi was awarded the badge 'Helpful' and 5 points. Did you allowed facebook domain in the iframe settings? ACP -> Customization -> Editor -> Settings -> Advanced -> -> Allowed iframe bases
June 1, 20231 yr Author On 6/1/2023 at 5:57 PM, DawPi said: Did you allowed facebook domain in the iframe settings? ACP -> Customization -> Editor -> Settings -> Advanced -> -> Allowed iframe bases Had no idea that setting even existed! I did a search for iframe in the search bar of ACP but that didn't come up. Thank you for pointing it out! 👍 I added www.facebook.com/plugins/video.php Will give it a go and see what happens on the next import.
June 1, 20231 yr On 6/1/2023 at 8:26 PM, Clover13 said: www.facebook.com/plugins/video.php Not much with that, as the domain is facebook.com May need www. but start with the domain first. Edited June 1, 20231 yr by Nathan Explosion
June 5, 20231 yr Author Doesn't appear to have worked, still empty iframes. Maybe a misconfiguration? I added the following: I added the www versions just now, will see if next import embeds correctly or not
June 8, 20231 yr Author Looks like adding the www version made the difference, they embed correctly now.