How to determine whether a user has a flash player installed on their system using java script.

Nitesh Naveen

<script language="javascript">
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ?
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
if (plugin &&
parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >=
4) { alert("Flash 4 or greater is available")} else { alert("Flash 4 is not available")}
should help you detect flash plug in
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.