If you are trying to embed an HTML code into your SharePoint page using the embed web part and you get an error:
Well, as the error says, you can only embed the iframe of a source URL and not HTML code.
Example of iframe embed.
<iframe src="https://code2care.org/sharepoint/show-videos-on-sharepoint-page" width=300 height=300>
Facing issues? Have Questions? Post them here! I am happy to answer!