Change how determining the video has stopped is done.

This uses the Player monitor to change how the script tests to see that the video has stopped, instead of waiting for an error.