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?

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>