OpenAccess Embed URL and Sharepoint

When I try to use the embed url for Sharepoint Online (Modern Page), I get the following error. Has anyone got this to work?

This website doesn’t support embedding using just the address. Try pasting the embed code instead. If it’s important to embed from this site using just the address, please send us feedback.

Have you checked out these links?

http://laurentschoenaers.be/2017/06/08/embedding-external-content-in-an-office-365-group-sharepoint-online-site/

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_onedrivefb-mso_winother/could-not-embed-website-into-sharepoint-online/9e59b359-a354-45c4-80fb-03c43b90b681

I finally got this to work I had to add my URL as a trusted site in the site collection administration and then I had to use the following code:

<iframe src="Myembeddedurllink" width=300 height=300></iframe>