In this situation, the ball has pitched on the stumps and has struck the batsman on the pads in front of the wicket.
The ball has not pitched outside the line of leg stump.
And it has not struck the batsman outside the line of off stump.
Therefore the umpire should give the batsman out.
But a lot of the time it is never this simple...
The BBC is not responsible for the content of external internet sites