While you could just nest the <iframe> in the <object> as fallback (is
that valid nesting? Unsure about iframes..), fallback content often
doesn't work due to users having the flash plugin but having flash
content blocked by a browser plugin.

Another way to do it would be to use a flash detection script like this one:

I haven't looked through it, but Ryan writes good code so I imagine
it's detection method would include physically adding a flash object
to the DOM and then checking it exists -- it wouldn't exist if a
browser plugin was blocking flash.

So here's how you would use that:
- <iframe> is in source.
- If flash is detected, grab the iframe using JS and replace it with
the flash <object>.

Simple, eh? :)

The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help

Reply via email to