[Vuejs]-Vue.js page inside iframe not showing on Firefox

3👍

Is the website you’re trying to load the iframe in secure (https)?
I see you’re trying to iframe an http url

Unlike HTTP images in an HTTPS page, which are allowed through with a little warning on the padlock, iframes are considered potentially dangerous active content and HTTP iframes won’t be loaded into an HTTPS page.

Besides that the same-origin policy might have something to do with it

0👍

When it comes to several browsers is working well, and when opened in another browser it has something wrong, It should be the Web API or Browser API used by the library, in this case, VueJS.

The possible solutions from the estimated source of the problem are:

  1. Update the VueJS to the latest version.
  2. I hope this forum is useful: https://forum.vuejs.org/t/iframes-in-vue/102268, the questionnaire has a problem with its source link. But I think you are not experiencing this. And it is useful for anyone who visited this question.
  3. If the problem is to be solved, I recommended using other people’s custom libraries, like this: https://www.npmjs.com/package/vue-iframes. Because those libraries are developed to answer several problems that the creator facing that probably other people would be experiencing too.
👤ImBIOS

Leave a comment