test the video finished event