I use an iMac. Also Firefox browser with VideoDownloadHelper extension. It is sort of like an application. Firefox browser does not let me capture video directly as the “Save Video As” is greyed out.
Use of tools like Video DownloadHelper can get you banned in no time. It is allowed to capture the screen with for example BandiCam. But direct download is not allowed.
Or you can use TinyTake which is free to capture five mins and pay more for premium, but anything more than 3 mins with this software you will not be able to upload as it is too large. https://tinytake.com/
Or, if you have windows 10 or 11 just use the MS inbuilt software by pressing the Windows key and the keyboard G at the same time.
A little known fact is that Apple screwed up once as the picture in play mode allowed people to save the video chunks in the device’s cache and they didn’t change it for three years which was responsible for a lot of pirated films and TV series.