Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Mar 2002
    Location
    Tampa, Florida, USA
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    detect realaudio plugin

    I am tring to detect the existence of the RealAudio plugin in a visitor's NS or IE browser. As I understand it, the test would have to be done in JavaScript.

    In Netscape, I think it would be something like

    if (navigator.plugins["realaudio"]) ........
    or
    if (navigator.mimeTypes["audio"]) ..........

    but that does not workn and I am tired of fishing.

    Anybody got some good code for this? Thanks.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: detect realaudio plugin

    Real's site was slow, but these, from Google, might help:

    <A target="_blank" HREF=http://www.google.com/search?q=cache:9GDt3f3l-_4:www.realnetworks.com/devzone/tutorials/authoring/embeddedplayer/detect_script_source.html?src=noref,nosrc+detect+r ealaudio+plugin&hl=en>Plug-in Detect Script Source</A>

    <A target="_blank" HREF=http://www.google.com/search?q=cache:1tmuxk281gg:service2.real.com/solutions/RAP00863.HTM+detect+realaudio+plugin&hl=en>Is it possible to programatically detect the RealPlayer plugin from within Microsoft Internet Explorer or Netscape Navigator?</A>

  3. #3
    Lounger
    Join Date
    Mar 2002
    Location
    Tampa, Florida, USA
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: detect realaudio plugin

    Yep... it was in there... (I found nothing at real.com that would help.)

    The problem was that IE does not consider the RealAudio to be a plugin; in MicrosoftSpeak, it is a control. And you can't use normal, old JavaScript to detect a Microsoft control. So the answer was to use JavaScript to build a JScript routine to check for it.

    Whew!!!

    Thanks.

    - hmc

  4. #4
    Lounger
    Join Date
    Mar 2002
    Location
    Tampa, Florida, USA
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: detect realaudio plugin

    Oops... a couple letters off ruins the whole thing. Shoud have been..."So the answer was to use JavaScript to build a VBScript routine to check for it.

    - hmc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •