Correction: since you don't need to know the URL exactly and it is enough to determine whether it is your own or not, use JS (e.g. as mentioned by Dave) and if you get no valid response (no matter if it is a non-matching URL or nothing/error) show the logo. The only deficiency is that users with disabled JS will have the logo displayed.
Attila RA> I think there is no reliable way for determining that. On client side RA> it is not possible if embedding is not under your control (since some RA> JS is needed for obtaining the HTML's URL). On server side you can RA> check referer, but making fake headers is so simple :) RA> RA> Attila RA> PB>> Building a video player that can be embedded in a web page. We'd like to PB>> be able to detect what domain the page the player is embedded on lives. PB>> If the domain is not ours (eg, SI.com), we'd like to display a logo; if PB>> it is ours, we don't want to display the logo. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com