Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to detect flash installed / enabled in a browser

Reply
Thread Tools

How to detect flash installed / enabled in a browser

 
 
Anees
Guest
Posts: n/a
 
      01-11-2008
Hi friends..

i know it may be a repeated Q.
Though i had search across i couldnt get the right solution and in
some, links were broken..

I want to check a browser when a user clicks on a link whether it
supports playing Flash files or not,

If yes it starts playing the Flash file.
or else it should pop up a screen to ask downloading flash plug in
into the system.

Please help me

Regards,
Anees
 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      01-11-2008

"Anees" <> wrote in message
news:9164b913-2832-44fb-b3e1-...
> Hi friends..
>
> i know it may be a repeated Q.
> Though i had search across i couldnt get the right solution and in
> some, links were broken..


Hmmm. Googling for "detect flash installed enabled" reveals 104,000 hits,
the first of which is the Adobe flash player detection kit. I recon Adobe
would be the authority on the subject

--
Richard.


 
Reply With Quote
 
 
 
 
David Mark
Guest
Posts: n/a
 
      01-11-2008
On Jan 10, 11:41*pm, "rf" <r...@invalid.com> wrote:
> "Anees" <muhd.an...@gmail.com> wrote in message
>
> news:9164b913-2832-44fb-b3e1-...
>
> > Hi friends..

>
> > i know it may be a repeated Q.
> > Though i had search across i couldnt get the right solution and in
> > some, links were broken..

>
> Hmmm. Googling for "detect flash installed enabled" reveals 104,000 hits,
> the first of which is the Adobe flash player detection kit. I recon Adobe
> would be the authority on the subject


Unfortunately they are not. Their detection kit is awful. Examples
posted elsewhere are typically just as bad. This issue will be
addressed in the CWR project soon.

The answer for this varies according to whether a specific version is
required and whether parameters need to be passed to the Flash movie
(older Safari browsers ignore those.) If the answer to those two
questions is no, then nested objects with a download message as the
fallback will work. The script would simply find and display the
outer object on click.
 
Reply With Quote
 
Anees
Guest
Posts: n/a
 
      01-11-2008
On Jan 11, 9:53 am, David Mark <dmark.cins...@gmail.com> wrote:
> On Jan 10, 11:41 pm, "rf" <r...@invalid.com> wrote:
>
> > "Anees" <muhd.an...@gmail.com> wrote in message

>
> >news:9164b913-2832-44fb-b3e1-...

>
> > > Hi friends..

>
> > > i know it may be a repeated Q.
> > > Though i had search across i couldnt get the right solution and in
> > > some, links were broken..

>
> > Hmmm. Googling for "detect flash installed enabled" reveals 104,000 hits,
> > the first of which is the Adobe flash player detection kit. I recon Adobe
> > would be the authority on the subject

>
> Unfortunately they are not. Their detection kit is awful. Examples
> posted elsewhere are typically just as bad. This issue will be
> addressed in the CWR project soon.
>
> The answer for this varies according to whether a specific version is
> required and whether parameters need to be passed to the Flash movie
> (older Safari browsers ignore those.) If the answer to those two
> questions is no, then nested objects with a download message as the
> fallback will work. The script would simply find and display the
> outer object on click.


Hi
Thanks Guys..
i just got a good solution from
http://www.adobe.com/products/flashp...detection_kit/
thanks for ur suggetions

regards
Anees
 
Reply With Quote
 
David Mark
Guest
Posts: n/a
 
      01-11-2008
On Jan 11, 12:13*am, Anees <muhd.an...@gmail.com> wrote:
> On Jan 11, 9:53 am, David Mark <dmark.cins...@gmail.com> wrote:
>
>
>
>
>
> > On Jan 10, 11:41 pm, "rf" <r...@invalid.com> wrote:

>
> > > "Anees" <muhd.an...@gmail.com> wrote in message

>
> > >news:9164b913-2832-44fb-b3e1-....

>
> > > > Hi friends..

>
> > > > i know it may be a repeated Q.
> > > > Though i had search across i couldnt get the right solution and in
> > > > some, links were broken..

>
> > > Hmmm. Googling for "detect flash installed enabled" reveals 104,000 hits,
> > > the first of which is the Adobe flash player detection kit. I recon Adobe
> > > would be the authority on the subject

>
> > Unfortunately they are not. *Their detection kit is awful. *Examples
> > posted elsewhere are typically just as bad. *This issue will be
> > addressed in the CWR project soon.

>
> > The answer for this varies according to whether a specific version is
> > required and whether parameters need to be passed to the Flash movie
> > (older Safari browsers ignore those.) *If the answer to those two
> > questions is no, then nested objects with a download message as the
> > fallback will work. *The script would simply find and display the
> > outer object on click.

>
> Hi
> Thanks Guys..
> i just got a good solution fromhttp://www.adobe.com/products/flashplayer/download/detection_kit/
> thanks for ur suggetions


That is not even close to a good solution as it relies on browser
sniffing.
 
Reply With Quote
 
Anees
Guest
Posts: n/a
 
      01-11-2008

> That is not even close to a good solution as it relies on browser
> sniffing.


oh..coz i got flash installed with my fire fox browser... i couldnt
check how it workes when the flash is not der..!!!!

Please suggest me a good solution..

Anees
 
Reply With Quote
 
David Mark
Guest
Posts: n/a
 
      01-11-2008
On Jan 11, 1:29*am, Anees <muhd.an...@gmail.com> wrote:
> > That is not even close to a good solution as it relies on browser
> > sniffing.

>
> oh..coz i got flash installed with my fire fox browser... i couldnt
> check how it workes when the flash is not der..!!!!
>
> Please suggest me a good solution..
>

Post a link to your page or the markup used for your Flash movie.
 
Reply With Quote
 
Anees
Guest
Posts: n/a
 
      01-11-2008

> Post a link to your page or the markup used for your Flash movie.


http://projects.realinternetsales.com/AudraRhodes/
here i need to Load the JS Menu if Flash will not support
And also need to prompt the user to confirm the redirection into flash
download page

Anees
 
Reply With Quote
 
Anees
Guest
Posts: n/a
 
      01-11-2008

> Post a link to your page or the markup used for your Flash movie.


http://projects.realinternetsales.com/AudraRhodes/
here i need to Load the JS Menu if Flash will not support
And also need to prompt the user to confirm the redirection into flash
download page

Anees
 
Reply With Quote
 
David Mark
Guest
Posts: n/a
 
      01-11-2008
On Jan 11, 4:05*am, Anees <muhd.an...@gmail.com> wrote:
> > Post a link to your page or the markup used for your Flash movie.

>
> http://projects.realinternetsales.com/AudraRhodes/
> here i need to Load the JS Menu if Flash will not support
> And also need to prompt the user to confirm the redirection into flash
> download page


Forget about redirection as your users won't be interested in that.
They are going to want a menu that works without a download!

The only parameter you are passing to Flash is quality="high". You
can lose that as it is the default. You can also lose the embed tag.

Here is an example:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
width="300" height="120" codebase="http://fpdownload.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" title="Movie">
<param name="movie" value="flash/testflash_streaming.swf">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/
testflash_streaming.swf" width="300" height="120" title="Movie">
<!--<![endif]-->
<ul>
<li><a href="page1.html">menu item 1</a></li>
<li><a href="page2.html">menu item 2</a></li>
<li><a href="page3.html">menu item 3</a></li>
...
</ul>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>

Use CSS to approximate the Flash rollover effects. Without getting
into a detailed discussion of progressive enhancement, a simple
solution to the "Click to Activate" issue is to document.write the
object tags from an external script file. You will then need a
noscript element that contains the menu list.

<script type="text/javascript" src="flashmenu.js"></script>
<noscript>
<ul>
<li><a href="page1.html">menu item 1</li>
<li><a href="page2.html">menu item 2</li>
<li><a href="page3.html">menu item 3</li>
...
</ul>
</noscript>

Granted, it isn't an optimal solution as your menu list will exist in
two places.

Do the same thing with your other Flash movie, but use a JPEG as the
fallback.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Detect Installed Toolbars in IE Browser? GerryWaz Javascript 1 04-25-2005 03:12 AM
Detect Java enabled browser Ryan Stewart Java 4 12-25-2004 04:29 AM
detect browser flash plugin and pass result to ASPX page Frank Jiang ASP .Net Web Controls 0 09-04-2003 11:07 PM
trace enabled, get app. error, doesn't enabled, on runs without error Gabor ASP .Net 3 08-26-2003 09:54 AM



Advertisments