Hi there everyone!
I'm trying to embed various URLs in an iframe with my script above it, allowing people to vote on the page being displayed below. I've quickly come to realize that sites like Youtube do not like this.
I'm wondering if there's any way I could use php to determine whether the page allows you to use it in an iframe. That way, I could open in a new window if need be.
It seems that there has to be some kind of flag being raised because one of the browsers that I'm testing with tells me that Youtube doesn't allow the page to be displayed in an iframe. Something must have happened for Youtube to pass that info to the browser. I am wondering if I can get that info via php.
thanks for your time!