The WRI web pages only tell one how to set a default action, but now how to check BEFORE attempting to load the plugin, This is what I do now
cdf.setDefaultContent('<STRONG>opps, no CDF plugin is installed in your browser...showing a static image..</strong> <img src="screen_shot.png" height="400" width="400" >');