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

Change how determining the video has stopped is done.