Flash player in iframes
I have website with a Flash live weather feed, http://www.costa-mogan.com/weather.php, which works fine, but I also serve it in an iframe on other websites and it doesn't work there. e.g. http://www.moganapartments.co.uk/weather/
I need to find out if it can be made to work there and how.
It is a security feature.
You are not allowed to load scripts in iframes from others domain.
Chrome's and Vivaldi's error console says:
Blocked script execution in 'http://www.costa-mogan.com/weather/' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Change your HTML.
@gwen-dragon Thanks! I had just discovered that if I un-sandbox it, it works again
@gwen-dragon - still doesn't work if 'allow-scripts' is set. I tried 'allow-same-origin' as well, but that doesn't help either.
@nickji You can't use same-origin because costa-mogan.com is never-ever the same domain as moganapartments.co.uk.
Perhaps changing the Content Security Policy may help.
@nickji Why do you use Iframes?
Embed the HTML from div in the Iframe directly on your sites and edit the flash parameters settings (see the IFrame content).