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

Total Post:52

Points:366
Posted on    June-11-2013 8:24 AM

 VB.Net VB.Net 
Ratings:


 1 Reply(s)
 1587  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. 


AVADHESH PATEL

Total Post:604

Points:4228
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