SiteCam Object



 
The SiteCam object provides information about the Webcam plugin.


Members Table

    The following table lists the members provided by the SiteCam object.

    Members
    Properties Description
    Enabled If the Webcam plugin is enabled.
    Name Name of this plugin.

Remarks
    This object is available through the collection Plugins. Use the SiteCam object to determine if this plugin is enabled.

    Since SiteKiosk 9.0 the Webcam plugin has been removed from the SiteKiosk configuration tool. To enable the plugin you need to open your SiteKiosk configuration with an editor and change <plugin name="SiteCam" enabled="false" ...> to true.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example determines if the Webcam plugin is enabled and shows it in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCam").Enabled);
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top