Embed my website content in my sharepoint by URL

SharePoint Asked by Hippyjim on February 15, 2021

I am moving some of our organisations intranet to "Modern" sites on MS hosted Sharepoint.

As Sharepoint doesn’t allow HTML editing, I’ve made a few pages on my website that users can embed, to pick up dynamic information etc that Sharepoint will not have.

The content varies in height, so it’s impossible to get an iframe that fits without causing scroll issues.

Also my users are not web developers, so rather than teaching all my users how to use iFrames, I wanted to use the "embed with a URL" feature.

I do not want to use iframes.

How do I set up my website (not the SharePoint website, mine!) to allow Sharepoint to pick up the correct information to embed automatically? Is there a protocol somewhere I need to apply on my webpage? Some meta tags? it is oEmbed? Similar?

I want my users to copy a URL from my website written in a different platform not SharePoint, by me, and paste it into a SharePoint embed web part and have it embed without the user typing iframe code.

2 Answers

Having asked elsewhere, someone suggested I look at the tags on YouTube to see if anything there gave a clue how they handle embeds.

There's an oEmbed tag, which lead me to investigate how to be an oEmbed provider.

It seems you have to add a tag to your pages, which gives a link to an oEmbed endpoint, that returns JSON info about how to embed the page.

Correct answer by Hippyjim on February 15, 2021

In modern page, you can try to use the embed web part to insert iFrames.

Examples and instructions:

Answered by Jerry_MSFT on February 15, 2021

Add your own answers!

Related Questions

Is there an API or web service for Copy-SPSite?

0  Asked on October 25, 2021 by spdevadmin


Calculated Fields and Outputting to Excel

1  Asked on February 28, 2021 by brandon


PnP with .NET Core

1  Asked on February 23, 2021 by thomas-segato


How can I use MS Web Test to upload files to SharePoint?

2  Asked on February 19, 2021 by user1258


Filtering List View by Current User Email

2  Asked on February 18, 2021 by hushhoney


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP