How to install Widevine CDM with Chromium on macOS? I have just built the binary for Chromium. I am looking to install widevine. How might I do that?

I have only found tutroials for linux https://github.com/proprietary/chromium-widevine.
I was able to successfully install Widevine by adding the following arguments to my build config:

ffmpeg_branding="Chrome"
proprietary_codecs=true
enable_widevine=true


First and second one makes sure that the codecs are available to play most video. enable_widevine well enables widevine.

Once built, go to chrome://components and scroll to the "Widevine" one. It should list the version as "0.0.0.0" or something like that. Click "Update". This should change the numbers to the most current version and install it. Restart the browser and it should work.