A male soccer player attempting to head the ball past the goalkeeper to score a goal .