Many streaming websites, such as Netflix and Disney+, use DRM to protect their video. When the user wants to do screenshot, video recording, or share screen via video conference, the video content becomes black. My research only leads me to those DRM solutions such as Google Widevine and Apple FairPlay, which explains how are keys managed such that only authorized user can decrypt video and play. But I am more curious on what technology is used to blackout the video when doing screenshot.
I found that this has something to do with enabling/disabling hardware acceleration, such as this one Why does disabling hardware acceleration in Google Chrome allow Discord users to stream sites like Netflix, TV streams, etc?, but I was unable to find any concrete technological explanation about it.
Say that I placed a video clip on my own website, I want everyone to view it while I want to prevent it from being screenshot/recorded, can I use this technology to achieve this objective?