It looks like the pilot just kept the razor stationary, and the man moved his face up and down.
Are we sure that there is actually a blade in the razor?
Perhaps the man was clean-shaven to begin with under all that lather?
In any case, that is just plain nuts ... no way would I want to be part of that stunt, on either end.