Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Detect Flash in Web Page

Posted on 2008-06-18
2
Medium Priority
?
253 Views
Last Modified: 2008-09-09
I am trying to develop a program to detect the flash in a specific web page like what Real Player detects the video to download. Can anyone give me some hints to where to look and how should I start with? I have browsed around on adobe documentation to see if there is any events that I can hook in but with no lucks.

MF
0
Comment
Question by:metalfish
2 Comments
 
LVL 5

Accepted Solution

by:
cwickens earned 2000 total points
ID: 21824080
you may want to look at something like SoThink's SWF Catcher.  It sounds like the functionality you are describing.
0
 
LVL 29

Expert Comment

by:rdivilbiss
ID: 21827814
http://www.rodsdot.com/ee/browser_test.asp


JavaScript:

function flashInstalled() {
    result = false;
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
        result = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
    }
    else if (document.all && (navigator.appVersion.indexOf("Mac")==-1)) {
        // IE Windows only -- check for ActiveX control, have to hide code in eval from Netscape (doesn't like try)
        eval ('try {var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) result = true; xObj = null; } catch (e) {}');
    }
    return result;

}
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question