test for real video plugin in IE with asp?
by "Phil Babcock" <pbabcock(at)bgsgroup.com>
|
| Date: |
Mon, 05 Jun 2000 16:59:43 -0400 |
| To: |
"hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
hi all
I have the following asp code:
on error resume next
if session("blnIsIEall") = true and blnExists = true then ' where
blnIsIEAll is already determined to be true...
useRealAudio1 = Not IsNull(CreateObject("rmocx.RealPlayer G2 Control"))
useRealAudio2 = Not IsNull(CreateObject("RealPlayer.RealPlayer(tm) ActiveX
Control (32-bit)"))
if (Not useRealAudio1 and Not useRealAudio2) then
Response.Write"Sorry, you will require RealVideo to play these videos."
elseif (useRealAudio1 or useRealAudio2) then
'code to show videos here
end if
end if
This worked some time ago for determining if Real Video was installed in
IE. I guess the latest version of Real has changed the object name (ie:
rmocx.RealPlayer G2 Control etc in previous versions) and now I cannot
check with only these object names. Does anyone know what the current
object name is OR does anyone have a better way to test for this plugin in
IE?
hope that makes sense.
tia
Phil Babcock
Lead Web Designer
BGS Group Inc.
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.