Interesting article from PCMag about a not-so-well-known method in Windows 10 for recording video. It’s supposed to be used for Xbox games, but seems to work for regular videos like you’d see on Youtube.
You have to be ready with your video set to play. Then, use the Win-G key combination. This starts up Game Bar which presents you with a record option. You can even record your own commentary using the microphone option. Once the recording starts, look for a control bar in the upper portion of your screen.
Start the video.
To stop recording, either use the control bar, hit Win-G again, or hit Alt-Win-R.
The recording appears as an MP4 in your video captures folder.
Read the article to learn more.