Making an on-play callback and an after-play callback