WEB PAGE in IFRAME not working

faqirgulzeb asked 3 months ago

I am a MDB PRO user I just want to use Iframe to show my other website product pages on my website in iframe view but iframe is working only for videos not for webpages, PLEASE HELP..!

Example is given below

<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/v64KOxKVLVg" allowfullscreen></iframe>
</div>

Jakub Mandra answered 3 months ago

Hello,

I'm Jakub from MDB. Thank you for reaching out.

 

Our embed utility is providing custom styling and responsiveness, but still it works as regular HTML tag.
Your problem is strictly connected with origin of your page. Some pages are blocked from embeding.

I invate you to further reading abut it here: https://forums.realmacsoftware.com/t/certain-url-is-not-loading-in-iframe-cant-figure-out-why/12400/8

 

Hope I could help.

Best regards,

Jakub from MDB


faqirgulzeb commented 3 months ago

Hello Jakub,
I read the problems but still in my case its working other then MDB
you can see in the link below even this simple one is not working.
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe


Jakub Mandra answered 2 months ago

Hello,

In snippet which u send, does the message "Your browser does not support iframes." appears?

 

Best regards,

Jakub from MDB

 


faqirgulzeb commented 2 months ago

No, such message appears only white box appears blank.


Jakub Mandra answered 2 months ago

It seams that you have problem with X-Frame-Options set to Deny.

Please try another browser to preview some iframe snippets.

More obout X-Frame-Options here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

 

Best regards,

Jakub from MDB

 


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes