Moved progress handling to the player directive