I have an HTML file sitting on a shared network server:
When I put the above path (starting with ‘\’) into a web browser, the browser renders the HTML and the page is displayed as expected. Within SharePoint, I’m attempting to use the script editor to embed an IFrame and display the Directory.html page. (I’m opting not to use the Page Viewer as I’m told if you’re linking to a file, you must be using IE). My Iframe looks like below:
I’ve also tried:
<iframe src="file://\\SERVERNAME\users\Public\Documents\Directory.htm"></iframe> <iframe src="file://\\SERVERNAME\users\Public\Documents\Directory.htm"></iframe>
No matter what source I use, the result is always an empty html frame. How can I get this page to load in SharePoint? Is there a setting I’m missing here? Note: SharePoint is configured to use http and I’m using IE for dev/testing.
Also, The following IFrame correctly displays the bing home page:
However I'm still unable to IFrame to the directory file