It means to commit yourself fully to whatever you are doing - in this case, playing football.
This phrase comes from gambling. In some gambling games, a player's bet is put on a line. When a player lays everything on the line, that player bets all he or she has. In the case of a football game, the player will have no strength or energy left over when the game ends.