I don’t quite understand the SWFObject examples downloaded http://download.macromedia.com/pub/developer/alternative_content_examples.zip’>here.
Why the availability of the flash plugin is checked only by
<|–[if !IE]> –> instructions.
Does it mean that just IE can be without preintalled flash player? Of course no. Then why
just IE is checked?
No! The code doesn’t mean it only check IE.
There are two example in the zip, first one is
second one is:
<!--[if !IE]>-->and<!--<![endif]-->works as a pair. They are just likeif (!isIE){ //... }. And what it means is IE will ignore the code inside the pair (pay attention to the!which means “not”). They are actually not related to Flash detection.Flash detection(in fact it’s graceful degradation) is done by using the characteristic that when the plug-in is not present, its object/embed tag will be ignored and the HTML inside those tags will be displayed.
If Flash is not present, for the first one,
<img src="banner.jpg" alt="Alternative content rules!" />will be displayed. For the second, it’s