Solved

Detect Flash in Web Page

Posted on 2008-06-18
2
248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

734 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