Solved

Detect Flash in Web Page

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

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

770 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