Firefox, Chrome, Opera, etc.), querying RealPlayer via GetVersionInfo( ) only works for RealPlayer 12 and higher. This has worked consistently well for all RealPlayer versions tested.ĥ) For all other browsers (ie. In that case, the data for that version came from a published source as opposed to actually testing that RealPlayer.Ĥ) For Internet Explorer, PluginDetect queries a RealPlayer ActiveX object via the GetVersionInfo( ) method to get the plugin version. It's just that I was unable to find any installers or any published data for those in between.ģ) The presence of a "-" in the above table for the Digital Signature Timestamp indicates that I was unable to obtain an installer for that particular RealPlayer version. For example, the above table lists RealPlayer SP 1.0 and SP 1.0.2 in consecutive order, but it is possible that at least one or more versions were released in between SP 1.0 and SP 1.0.2. So when PluginDetect.getVersion('RealPlayer') returns a value, one does not know exactly which release version / build # that it refers to.Ģ) The above table does not list all possible versions of RealPlayer. I do not know why they did this, but it would have been much better to have a unique plugin version for each release version. For example, plugin version 12.0.0.297 refers to RealPlayer SP 1.0 thru RealPlayer SP 1.0.5. There are a number of observations we can make based on the table above.ġ) You should note that the same plugin version can refer to more than one release version for RealPlayer. I also list the Digital Signature Timestamp for each RealPlayer standalone installer, which gives us a very rough approximation as to when that version of RealPlayer was released. But hopefully it makes things a little bit easier to understand, if that is even possible. I created a table of these numbers for various RealPlayer releases (Windows only). At least, that is what it seems like to me. The confusing part here is that the 4 numbers discussed above can be different from one another, and yet all still refer to the same RealPlayer. PluginDetect usually obtains this number by instantiating RealPlayer (either as an ActiveX control or as an embedded app in a web page), and then calling RealPlayer's GetVersionInfo( ) method. PluginDetect.getVersion("RealPlayer", true) will try to return the plugin version whenever possible. You will find a version #.Ĥ) The RealPlayer browser plugin version. When you look at a RealPlayer standalone installer file, right-click, and go to Properties. This is the build of the RealPlayer parent application. Shown in the "About RealPlayer" dialog box. This is the version of the RealPlayer parent application. Shown in the "About Realplayer" dialog box. They are:ġ) The RealPlayer Release Version. As near as I can tell, there are/were 4 numbers that can identify RealPlayer. The version numbers for RealPlayer under Windows are somewhat confusing to me. For example, PluginDetect can return a plugin version for Windows and Mac, but not Linux. The version can only be detected on certain platforms. But some browsers may display a security message asking for permission to run that plugin. The instantiate input arg will cause the RealPlayer plugin to run in your browser. When a version is detectable, then usually all 4 numbers "A,B,C,D" will be detected.įor Internet Explorer, PluginDetect will always reveal the plugin version for RealPlayer.įor certain other browsers, PluginDetect may only reveal the version if you use the instantiate input argument. Returns -0.1 if plugin is installed & enabled, but plugin version is =0. The plugin version is unknown, and thus we are unable to determine if version >= minVersion. Returns 0 if RealPlayer is installed (& enabled). Returns 1 if RealPlayer is installed (& enabled) and plugin version is >= minVersion. PluginDetect.isMinVersion('RealPlayer', minVersion, instantiate): Var version = PluginDetect.getVersion("RealPlayer") // version has the format of "A.B.C.D" PluginDetect.getVersion(".") // set delimiter PluginDetect.getVersion(delimiter) where delimiter is a string with exactly 1 character. If you wish to change the getVersion() delimiter, then use: Returns null when the version could not be determined (when plugin is not installed/not enabled, or plugin is installed but the version information is unavailable).īy default, the returned version string is comma delimited and has the format of "A,B,C,D". For non-Internet Explorer browsers, you may need to specify the instantiate input argument in order to detect the plugin version. Returns the version (as a string) of the installed RealPlayer plugin. PluginDetect.getVersion('RealPlayer', instantiate): A few PluginDetect commands for RealPlayer detection
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |