Jump to content

RSS Feed Import: Video embed in iframe not working


Recommended Posts

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.

Link to comment
Share on other sites

2 hours ago, 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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...