Could've at least checked if the website even allows embedding before embedding it, I found two by randomly clicking around that don't.
No browser prevents that by default, but this tip is found in pretty much every "best practices" hosting tutorial, so it's very common to stumble upon that browser error in the wild.