NOTE : As with other <IMG>
related object embedding mechanisms (i.e in-line video), future versions of the Internet Explorer will support open standard object embedding mechanisms (see <OBJECT>
), instead of relying on proprietary extensions such as those detailed here.
Microsoft's Internet Explorer (from version 2) has added the ability to include in-line embedded VRML viewable by installing the Virtual Explorer plug-in module (for version 2.0. Version 3.0 can use the Netscape Live3D plug-in, or the ActiveVRML ActiveX control), available from the Microsoft ActiveX Web site (http://www.microsoft.com/activex/). It does this by adding the VRML
attribute to the <IMG>
element.
As the attribute is used in the <IMG>
element, it supports many of the other attributes of the <IMG>
element, such as HEIGHT, WIDTH, VSPACE, HSPACE etc.
<IMG SRC="picture.gif" VRML="world.wrl" HEIGHT=250 WIDTH=300>
The above example, would embed the VRML world, "world.wrl" into the HTML document, with the navigation controls below the embedding pane. The pane is displayed according to the dimensions specified. For browsers, other than the Virtual Explorer (Internet Explorer with the VRML add-on), the picture "picture.gif" would be displayed.
NOTE : Embedding of VRML worlds is also supported by Netscape, using the Netscape Live3D plug-in module and the <EMBED>
element.