Detecting if youtube is blocked by company / ISP

Posted by Simon_Weaver on Stack Overflow See other posts from Stack Overflow or by Simon_Weaver
Published on 2008-11-13T01:24:28Z Indexed on 2010/04/12 3:33 UTC
Read the original article Hit count: 208

Filed under:
|
|

We have Youtube videos on a site and want to detect if it is likely that they will not be able to view them due to (mostly likely) company policy or otherwise.

We have two sites:

1) Flex / Flash 2) HTML

I think with Flex I can attempt to download http://youtube.com/crossdomain.xml and if it is valid XML assume the site is available

But with HTML I dont know how to do it. I cant even think of a 'nice hack'

© Stack Overflow or respective owner

Related posts about blocks

Related posts about youtube