Add ability to choose the timeout for the player