You can use the Screen Capture source or the Window capture source to capture the video directly from your web browser. Unfortunately, the Web Browser source will not show the video due to DRM concerns. You can capture the audio with the help of the Loopback tool from Rogue Amoeba.
Another way would be to use a separate computer and an HDMI grabber.