IsSKPlayer Property



 
The IsSKPlayer property indicates if the SiteKiosk Player is running on the second monitor.


Syntax

    [bool=] SiteKiosk.SecondMonitorBrowser.IsSKPlayer
Possible Values
    Boolean value that retrieves the SiteKiosk Player status.

    The property is read only.
Remarks
    None.
Examples
    The following example checks the availability of the SiteKiosk Player on the second monitor and navigates to a specified URL.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    lb_2ndMonBrowserEnabled = false;
    lb_2ndMonBrowserActive = false;
    lb_2ndMonBrowserIsSKPlayer = false;
    if(SiteKiosk.SecondMonitorBrowser.Enabled)
    	lb_2ndMonBrowserEnabled = true;
    if(SiteKiosk.SecondMonitorBrowser.Active)
    	lb_2ndMonBrowserActive = true;
    if(SiteKiosk.SecondMonitorBrowser.IsSKPlayer)
    	lb_2ndMonBrowserIsSKPlayer = true;
    if(lb_2ndMonBrowserEnabled == true && lb_2ndMonBrowserActive == true 
    && lb_2ndMonBrowserIsSKPlayer == true)
    	SiteKiosk.SecondMonitorBrowser.Navigate
    	("http://www.provisio.com/");
    else
    	SiteKiosk.Logfile.Notification("2nd Monitor Enabled: " + 
    	lb_2ndMonBrowserEnabled + ", Active: " + 
    	lb_2ndMonBrowserActive + ", SKPlayer: " + 
    	lb_2ndMonBrowserIsSKPlayer);
    </SCRIPT>

Applies to
    SiteKiosk v7.7 (and later versions).

Back to top