[Fixed] Only secure content is displayed error in SharePoint Online page viewer web part

This SharePoint tutorial, we will discuss how to solve Only secure content is displayed error in SharePoint. The error comes while using Page viewer web part in SharePoint Online or SharePoint 2013/2016.

Recently I was using page viewer web part in SharePoint Online site. I was displaying a URL inside the page viewer web part in a web part page. But in IE it was showing error as:

sharepoint page viewer web part only secure content is displayed

Only secure content is displayed. And once I click on Show all content. Then only it will show the content from the page viewer web part.

Only secure content is displayed sharepoint

Here below are two ways I resolved the issue “Only secure content is displayed”.

Options-1:
Inside my SharePoint Online page viewer web part, I was trying to show https://www.enjoysharepoint.com URL.

Since SharePoint Online site is an https site and this one is an HTTP site. It was showing that warning message. The page viewer web part URL was like below:

Only secure content is displayed sharepoint

When I change the URL to an “https” URL. It started showing the page without the warning message.

Option-2:
The other option is we can disable the warning message in the browser itself. Open Internet Explorer -> On the Tool menu, click Internet Options -> Click the Security tab and then click Custom level -> In the Settings box, scroll down to the Miscellaneous section, and under Display mixed content choose Enable.

It looks like below:

sharepoint online only secure content is displayed

You may like following SharePoint tutorials:

This SharePoint tutorial we learned how to solve Only secure content is displayed error which comes in SharePoint Online page viewer web part.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>