Yes. Mac's built-in screen recording feature can record everything displayed on your screen, including videos playing on websites.