[X3D-Public] Web3D.org Front Page

Braden McDaniel braden at endoframe.com
Tue Jun 23 20:09:44 PDT 2009


On Tue, 2009-06-23 at 16:41 -0400, GLG wrote:
> The code below (as it stands currently) works well in both
> IE and Firefox. I have tried using the 'data' attribute in
> <object> as well but that didn't help Firefox load Contact.
> As a matter of fact, my version of Firefox (3.0.8) doesn't
> seem to recognize the <object> tag at all (nested or not). I
> will now upgrade Firefox to the latest version (3.0.11) and
> see if my earlier assumption is correct. Here are the
> related server mime type to clarify that part. 
> 
> 
> model/vrml	wrl vrml
> model/x3d+xml x3d
> model/x3d+vrml x3dv
> model/x3d+binary x3db
> 
> Lauren 
> 
> 
> 
> 
> <object id="VRML_BROWSER1"
> codeBase="http://www.bitmanagement.com/download/BS_Contact/c
> ab-xpi/BS_Contact_VRML-X3D.exe"    
> classid=clsid:4B6E3013-6E45-11D0-9309-0020AFE05CC8
> width="100%" height="100%"    
> type="model/x3d+xml" standby="Loading 3D Viewer">

I think the "type" attribute is entirely extraneous here.  IIRC,
Internet Explorer will load the ActiveX control associated with the
"classid" attribute, regardless of anything else.

> <param name="_Version" value="327683">
> <param name="_ExtentX" value="18997">
> <param name="_ExtentY" value="14711">
> <param name="_StockProps" value="65">
> <param name="BackColor" value="0">
> <param name="Enabled" value="1">
> <param name="SRC" value="load.wrl">
> <param name="VRML-DASHBOARD" value="0">
> <param name="FULLSCREEN" value="0">
> <param name="FULLSCREEN-MODE" value="">
> <param name="TIMER-INTERVAL" value="0">
> <param name="AVATAR-URL" value="">
> <param name="AVATAR-DISPLAY" value="0">
> <param name="TARGET" value="">
> <param name="FORCE-HW" value="0">
> <param name="FORCE-RGB" value="0">
> <param name="HW-PROBLEM-CHECK" value="1">
> <param name="HIDE-CURSOR" value="0">
> <param name="FAST-MODE" value="0">
> <param name="BACKGROUND-COLOR" value="">
> <param name="BACKGROUND-IMAGE" value="">
> <param name="SPLASH-SCREEN" value="">
> <param name="STARTUP-SCREEN" value="0">
> <param name="UI-URL" value="">
> <param name="PRELOAD" value="1">
> <param name="TRANSPARENT" value="0">
> <param name="WINDOWLESS" value="0">
> <param name="DRAG-DROP" value="1">
> <param name="RELATIVE-TIME" value="0">
> <param name="EDIT-MODE" value="0">
> <param name="BXX-URL" value="">
> <param Name="LICENCE" Value="bscontact.bskey">
> 
> <embed  
> 
> PLUGINSPAGE="http://www.bitmanagement.de/download/BS_Contact
> _VRML/" 
> SRC="load.wrl"  TYPE="model/x3d+xml" HEIGHT="100%"
> WIDTH="100%">
> 
> </embed>
> 
> 
> </object>

Let me guess why you're mixing "model/x3d+xml" and ".wrl": this is the
trick to get Contact to load.  Presumably this works because Contact is
the only thing you have installed that has registered support for
"model/x3d+xml".

Am I right?

If I am, keep in mind that this might not work on a system where some
other plug-in that supports "model/x3d+xml" has been installed.

-- 
Braden McDaniel <braden at endoframe.com>




More information about the X3D-Public mailing list