Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Media Player Detection

Media Player Detection

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netquestionannouncement
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    braber
    wrote on last edited by
    #1

    Hello all, I am currently using a chunck of javascript to detect if a user has media player installed and any plugins.... I was wondering if anyone has heard of a way to detec the media player version without javascript but within ASP.NET using C# or VB...? Thanks all

    M 1 Reply Last reply
    0
    • B braber

      Hello all, I am currently using a chunck of javascript to detect if a user has media player installed and any plugins.... I was wondering if anyone has heard of a way to detec the media player version without javascript but within ASP.NET using C# or VB...? Thanks all

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, Though the HttpBrowserCapabilities object can give you some info about the client, it's clearly enough in your case, and IMHO javascript is your choice.

      B 1 Reply Last reply
      0
      • M minhpc_bk

        Hi there, Though the HttpBrowserCapabilities object can give you some info about the client, it's clearly enough in your case, and IMHO javascript is your choice.

        B Offline
        B Offline
        braber
        wrote on last edited by
        #3

        Thanks for the input, just curious as to why javascript would be a better choice... I do like to be as efficient as possible... Thanks for your reply....

        M 1 Reply Last reply
        0
        • B braber

          Thanks for the input, just curious as to why javascript would be a better choice... I do like to be as efficient as possible... Thanks for your reply....

          M Offline
          M Offline
          minhpc_bk
          wrote on last edited by
          #4

          Hi there, Basically, the media player is an ActiveX control which is installed and run at the client side, and the information about the client provided by the ASP.NET is not much, it is normally taken from the header of the request sent by the client browser. And this information does not contain any information about a specific ActiveX control installed on the client machine. So to detect if the player ( or an ActiveX control in general ) is installed at the client side or detect the version of the player, you basically use the client side script (runs at the client side) like javascript or vbscript to do the trick.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups