For PC games and Xbox games, you can use Windows free tool Game Bar to record gameplay clips. You can also try other professional game recorders to record gameplay videos and share to YouTube directly.