473,394 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Detecting shockwave plugin details

Hi All,

I am new to javascript. can anyone tell me what is the script of detecting shockwave player details of client machine?

Help would be much appriciated.

Thanks in advance.
Mar 10 '10 #1
3 1665
gits
5,390 Expert Mod 4TB
you might use the navigators's plugin property to retrieve information about plugins ... what exactly do you need to know?

kind regards
Mar 11 '10 #2
Hi gits,

Actually i want to know the client machine does have shockwave plugin or not.

I have .swf file to show on my webpage. But if client does not have plugin then he might not able to see. So i need to know the plugin is there on not.

If it is not there then i want to show him a simple .jpg instead of .swf.

Hope you have got my point.

Does anyone have solution to this?

Awaiting for your reply.

Thanks in advance.
Mar 11 '10 #3
gits
5,390 Expert Mod 4TB
as i said already ... you might make use of the navigator's plugins property ... here is an example:

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <script type="text/javascript">
  4.  
  5. function displayPluginInfo () {
  6.     var plugins = navigator.plugins;
  7.     var output  = document.createElement('div');
  8.  
  9.     for (var i in plugins) {
  10.         var plugin = plugins[i];
  11.  
  12.         if (/shockwave/ig.test(plugin.name)) {
  13.             alert('shockwave-plugin present');
  14.         }
  15.  
  16.     }
  17. }
  18.  
  19. </script>
  20. </head>
  21.  
  22. <body onload="displayPluginInfo();">
  23. </body>
  24.  
  25. </html>
  26.  
kind regards
Mar 11 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: M.N.A.Smadi | last post by:
hi; i want to write a script to do the following: when using firefox to download a textfile, instead of saving it to the hard dist, i want to run a python script on it, and i want the python...
4
by: Isaac Grover | last post by:
Hi everyone, I have recorded some conference calls for my business partners, put them online in Shockwave audio format using a player available from Shockwave. And I'm encountering an annoying...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
1
by: Darren | last post by:
Hi Groups, Simple Task: Embed flash/shockwave swf into an aspx page. Problem: Visual Studio does not recognize attributes: pluginspage, quality, or type. Generates msg: Could not find any...
1
by: Sharkbait | last post by:
We are trying to record browser information when a customer comes to our site. I have been able to get most basic browser information using both asp and asp.net. The only thing I’m missing is the...
2
by: Luis Arvayo | last post by:
Actually it is: How to define the plugin assemblies path in order to find other assemblies which the plugin depends on. Example: If I have: c:\myapp\application.exe
3
by: regtrashcan | last post by:
I have a webpage that detects whether Shockwave Player is installed and the version number. The javascript/vbscript that I use has worked fine until the latest release of the Shockwave Player. I am...
0
by: rwakelan | last post by:
I am having a strange problem with the shockwave flash object (look at rwakelan.googlepages.com/flash.html to find out how to get it in a project). The easiest way to recreate the error is to: ...
5
by: UJ | last post by:
I have a program that uses the Shockwave Flash Objects (ShockwaveFlashObjects) to display a SWF. Everything works fine. When IE7 is installed on the machine, suddenly we get an 'Invalid char line...
0
by: wbosw | last post by:
Shockwave Flash Object Com Component -------------------------------------------------------------------------------- I'm trying to import the Shockwave Flash Object from the Com Component...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.