Function onwaiting

    Occurs when playback stops because the next frame of a video resource is not available.