player now recognizes correctly when the videostream has been displayed and stops playing.