You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116904 facebook on iPhone

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Perryworld on Friday, 11 October 2024 22:24 BST

Perryworld

Hi Ryan
Not sure if you can help with this 
We have a site at https://www.ripenurseryschool.co.uk/gallery/social which has used the facebook widget code to display our FB page
It works fine on laptops and tablets but on an iPhone it doesn't display the page

We noticed the error in dev tools
Uncaught SecurityError: Failed to set the 'domain' property on 'Document': Assignment is forbidden for sandboxed iframes.

Could it be sandbox related as this was something new in JCE Editor

Any help would really be appreciated

 

Cheers
Rich

Ryan

We noticed the error in dev tools
Uncaught SecurityError: Failed to set the 'domain' property on 'Document': Assignment is forbidden for sandboxed iframes.

Could it be sandbox related as this was something new in JCE Editor

Because you are using the Facebook widget to embed the page, JCE is not creating an iframe for the embed, and does now support Facebook as a sandbox exemption anyway.

The Facebook widget determines how the page should be embedded / rendered based on the device, I am assuming, and in the case of mobile devices, appears to be using an iframe. Unfortunately JCE does not have any control over this.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Perryworld

Hi Ryan

Thanks for coming back  to me - I was hoping it was a sandbox issue !
We have always used the code supplied by Facebook widget without any issues but for some reason it stopped on the iPhone

Cheers

Rich

PS : you can close my other tickets - Thanks