Widget:FlashDetect

From Open Energy Information

This widget sets the wgFlashEnabled javascript variable as true and adds the class "flash" to the body tag if Flash is detected using SWFObject.js, false and "noflash" class if not.

For example:

{{#Widget:FlashDetect}}