Description
If the notify property is set to true before an action, the onNotify event will be triggered after the action is completed. The event handler is:
mci.onNotify = function (flag)
{
body
}
The flag will be one of the following values:
Value Description 1 The device has completed the command 2 The current notification conditions have been superseded by a new command. 4 The device has received a command that prevents it from meeting the notification conditions. 8 A device error occurred while the device was executing the command.
Syntax
mci.onNotify = handler-func;