# OnClosingDisc Event Fires when the data has been written and the CD is closed. Syntax
    SiteKiosk.CDRecording.OnClosingDisc = handler
Parameters
seconds | Long value that contains the estimated seconds for closing.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows the estimated seconds when closing the CD.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var lk_CDRecording = SiteKiosk.CDRecording;
    lk_CDRecording.OnClosingDisc = OnClosingDisc;
    function OnClosingDisc(seconds)
    {
       alert("Estimated seconds for closing: " + seconds);
    }
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top