I think there is no reliable way for determining that. On client side
it is not possible if embedding is not under your control (since some
JS is needed for obtaining the HTML's URL). On server side you can
check referer, but making fake headers is so simple :)

  Attila

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

Reply via email to