Change how determining the video has stopped is done.
Merge pull request #18 from Giftie/wait_til_end

Change how determining the video has stopped is done.