Sites like youtube block the displaying of their site from iframes.
I'd like to detect when an iframe fails to load due to blocking from the destination site, and instead load a placeholder address in the iframe.
Right now you get an empty iframe or a server error page, which is not user friendly.
<iframe src="https://www.youtube.com" scrolling="yes"></iframe>
How do I do that?