Solved

Detect Flash in Web Page

Posted on 2008-06-18
2
246 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 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

820 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