Home > DeveloperSection > Forums > VB.NET - How to check if Webbrowser supports flash?
Hugh Jackman
Hugh Jackman

Total Post:52

Posted on    June-11-2013 8:24 AM

 VB.Net VB.Net 

 1 Reply(s)
 1877  View(s)
Rate this:
Hi Developers, 

I have created one web application that used for plays flash videos. I have to check if they have flash for the Internet Explorer (the WebBrowser Element) installed. How can I check this? I saw this in another tool before, but I have no idea how it's working.

Thanks in advance. 


Total Post:604

Posted on    June-12-2013 7:33 AM

Hi Hugh,

You can try as following using jQuery

var _flash_installed = ((typeof navigator.plugins != "undefined" && typeof     navigator.plugins["Shockwave Flash"] == "object") || (window.ActiveXObject && (new    ActiveXObject("ShockwaveFlash.ShockwaveFlash")) != false));

I hope it helpful for you.

Don't want to miss updates? Please click the below button!

Follow MindStick