The EMBED Element

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Server Setup > HTML Page for Authentic Plug-in > Firefox >

The EMBED Element

The EMBED element has the following functions:

 

It gives the Authentic Browser Plug-in a name (via the id attribute).
It selects which version of the Authentic Browser Plug-in to use (via the type attribute).
It specifies an XPI file or CRX file (which is the Authentic Browser Plug-in DLL) via the PluginsPage attribute. The value of the PluginsPage attribute is a path that locates the XPI or CRX file.
It specifies the dimension of the Authentic View window in the client's browser (via the height and width attributes).

 

Here is a sample HTML EMBED element. It selects the English-language Trusted version (with the value of the type attribute) and sets the width and height of the Authentic View window in the client's browser to 100% and 60%, respectively.

 

 <embed 

 id="objPlugIn" 

 type="application/x-authentic-scriptable-plugin" 

 width="100%" 

 height="60%" 

 PluginsPage="http://your-server-including-path/AuthenticFirefoxPlugin_trusted.xpi"

 [Name-Of-Parameter="Value of Parameter"]/>

 

 

id

The value of the id attribute is used as the name of the Authentic Browser Plug-in objects when these are used in scripts. For example, objPlugIn.SchemaLoadObject.URL is a call to the object that loads the schema file.

 

type

This value is the MIME type of the required Authentic Browser version. In the code listing above, the value application/x-authentic-scriptable-plugin identifies the English-language Trusted version. See the section, Authentic Browser Versions for a list of the available versions and their MIME types.

 

width, height

These attributes specify the dimensions of the Authentic View window to be created within the browser window.

 

PluginsPage

The value of this attribute specifies the location of the Authentic Browser XPI file (for Firefox) on your server. Make sure that you use the correct path in the URL that locates the the XPI file. Case-sensitivity might be an issue with some servers, so if there is a problem locating a file, check the casing of paths and filenames.

 

LicServer

The name of the server for which the Authentic Browser Enterprise Edition license key is valid.

 

LicKey

The license key for validating the use of Authentic Browser Enterprise Edition.

 

LicCompany

The company name for validating the use of Authentic Browser Enterprise Edition.

 

 

Parameters

A parameter (see list below) can be used in the following ways:

 

By giving the parameter name and its value as an attribute-value pair of the EMBED element. For example, the parameter ToolbarsEnabled can be specified with a value of true by adding the attribute-value pair ToolbarsEnabled="true" to the EMBED element. See listing above.
A PARAM element can be specified as a child of the OBJECT element, as in the example below:

 

<object id="objPlugIn"
          type="application/x-authentic-scriptable-plugin"

          width="100%"

          height="60%" >

    <param name="ToolbarsEnabled"

          value="true"/>
</object>

 

Note, however, that there is a drawback if parameters are specified in this waythat is, as a child of the OBJECT element. Since Firefox does not accept the PLUGINSPAGE attribute of the OBJECT element, Firefox will have no reference to the Authentic Browser XPI file on the server and cannot start installation of the Authentic Browser plug-in on the client. Therefore, this way of specifying parameters is of use only on clients where the plug-in has already been installed.

 

XMLDataURL

An absolute URL that gives the location of the XML file to be edited. For the Untrusted versions, you can also use a full local path.

 

XMLDataSaveURL

An absolute URL that gives the location where the XML file is to be saved. For the Untrusted versions, you can also use a full local path.

 

SPSDataURL

An absolute URL that gives the location of the StyleVision Power Stylesheet (.sps file). For the Untrusted versions, you can also use a full local path.

 

SchemaDataURL

An absolute URL that gives the location of the associated schema file. For the Untrusted versions, you can also use a full local path.

 

TextStateBmpURL

The folder where bitmap image for text-state icons are to be stored.

 

TextStateToolbarLine

The toolbar line in which text-state icons are to be placed. The default is 1.

 

AutoHideUnusedCommandGroups

Determines whether unused toolbar command groups should be hidden. The default is True.

 

ToolbarsEnabled

Specifies general support for toolbars. The default is True.

 

ToolbarTooltipsEnabled

Speficies whether Tooltips are enabled or not.

 

HideSaveButton

If set to True, removes the Save button from the Authentic toolbar, which is visible by default.

 

BaseURL

Gives the base URL for use with relative paths.

 

SaveButtonUsePOST

If set to True, the HTTP POST command is used instead of a PUT when saving the document.

 

EntryHelpersEnabled

If set to True the Authentic entry helpers are visible

 

EntryHelperSize

Width of the entry helper window in pixels.

 

EntryHelperAlignment

Specifies the location of the entry helpers relative to the document window.

 

0 = Align toolbar at top of document

1 = Align toolbar at left of document

2 = Align toolbar at bottom of document

3 = Align toolbar at right of document

 

EntryHelperWindows

Selects which of the entry helper sub-windows are visible.

 

1 = Elements

2 = Attributes

4 = Entities

 

Any combination is allowed (bit-check)

 

SaveButtonAutoEnable

See Authentic.SaveButtonAutoEnable

 

LoaderSettingsFileURL

Gives the URL of the LoaderSettingsFile for package management.

 


© 2018 Altova GmbH