简体   繁体   中英

How can I embed an iframe with HTTP URL into Blogger

I'm trying to embed an iframe into my blogger site. But the main problem is that Blogspot does not support iframe with HTTP URL and my target website is on HTTP. this is my iframe example:

<iframe
    src="http://mywebsite.com"
    style="border:0px #ffffff none;"
    name="myiFrame"
    scrolling="no"
    frameborder="1"
    marginheight="0px"
    marginwidth="0px"
    height="400px"
    width="600px"
    allowfullscreen
></iframe>

Blogger shows the following warning:

There are HTTP resources on this page, because of which mixed content can negatively affect the security and display of certain elements when viewing your blog over a secure connection.

How can I embed an iframe with HTTP URL into Blogspot.com?

Blogger provides an option to Dismiss the warning. Refer to the screenshot -

取消http混合内容警告

Once that warning has been dismissed and you try to save the post once again, Blogger doesn't show any warning and saves the contents of the post.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM