Jump to content

Featured Replies

Posted

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&amp;width=405&amp;height=720&amp;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.

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

  • 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.

  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 by Nathan Explosion

  • Author

Doesn't appear to have worked, still empty iframes.  Maybe a misconfiguration?  I added the following:

Could contain: Page, Text

I added the www versions just now, will see if next import embeds correctly or not

  • Author

Looks like adding the www version made the difference, they embed correctly now.

Recently Browsing 0

  • No registered users viewing this page.