I'm trying to load a youtube video in a webpage. Not overly difficult, and works fine.
<object width="600" height="362">
<param name="movie" value="http://www.youtube.com/v/etc"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/etc" type="application/x-shockwave-flash"
width="600" height="362"
allowfullscreen="true">
</embed>
</object>
There is no problem if Flash is not present or disabled - it just shows whats in the middle of the embed.
But if youtube is blocked (at the firewall, or /etc/hosts pointing to the wrong IP), I just get nothing.
Anyone know of a way to display something in this case? eg an image (or any html for that matter).
[edit] I guess I should add: I dont have access to Flash, so I can't make a new SWF and embed it (sorry, George, the idea looks good, but I dont have the tools).
I need something which I can do in HTML and Javascript, on the client. Ta.
Thanks