Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Iframe not appear in Firefox
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4354
Page 1 of 1

Author:  emmanueldevys [ 14. Jun 2017, 12:47 ]
Post subject:  Iframe not appear in Firefox

Hi,
I am trying to execute an iframe on a wordpress page.

The content is from : https://www.scania.com/fr/fr/home/misc/configurator/flow.html

and I set it on a page here : http://www.dian.fr/configurateur-scania/

I appears well on all browsers.

But not on Firefox. Do I have to set something specific ?

Author:  TinyWebGallery [ 14. Jun 2017, 13:31 ]
Post subject:  Re: Iframe not appear in Firefox

I only see something strange in the log only of firefox:

Load denied by X-Frame-Options: https://www.jobs.ch/ does not permit framing by http://www.dian.fr/configurateur-scania/.

But I don't see www.jobs.ch anywhere in your code. You have any idea where this is coming from?

But ie also fails.

I have checked your page with
http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker

The header is set to ALLOW-FROM HTTPS
. This means that the page most likely cannot be included into an iframe.

ALLOW-FROM HTTPS is actually not supported by chrome but by others. So you will not be able to include this page on all browsers!
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options -> Browser compatibility

Best, Michael

Author:  emmanueldevys [ 14. Jun 2017, 15:05 ]
Post subject:  Re: Iframe not appear in Firefox

Hi again and thank you for the answer.

I checked with http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker

And I have some answers. I think I may have found a solution with changing the header with

X-Frame-Options: ALLOW-FROM https://www.scania.com in functions.php

I did it but I have to wait because there is a synchronisation on the server.

Thank you and I will keep in touch with the answer.

Best regards

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/