Clover13 Posted June 1, 2023 Posted June 1, 2023 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.
DawPi Posted June 1, 2023 Posted June 1, 2023 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 Clover13 and Nathan Explosion 2
Clover13 Posted June 1, 2023 Author Posted June 1, 2023 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.
Nathan Explosion Posted June 1, 2023 Posted June 1, 2023 (edited) 3 minutes ago, 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, 2023 by Nathan Explosion Clover13 1
Clover13 Posted June 5, 2023 Author Posted June 5, 2023 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
Clover13 Posted June 8, 2023 Author Posted June 8, 2023 Looks like adding the www version made the difference, they embed correctly now.
Recommended Posts