API.md / --widevine: document signing apps to make some sites like HBO Max & Udemy work (fix #1147)

This commit is contained in:
Ronan Jouchet 2021-04-28 21:09:22 -04:00
parent cf8e51e7ab
commit 83b284e727
1 changed files with 13 additions and 0 deletions

View File

@ -204,6 +204,19 @@ Electron version without the `v`, see https://github.com/atom/electron/releases.
Use a Widevine-enabled version of Electron for DRM playback, see https://github.com/castlabs/electron-releases.
Note: some sites (like Udemy or HBO Max) using Widevine may still refuse to load videos. Try signing your app using CastLabs tools. See [#1147](https://github.com/nativefier/nativefier/issues/1147#issuecomment-828750362). TL;DR:
```bash
# Install CastLabs tools:
pip install --upgrade castlabs-evs
# Sign up:
python3 -m castlabs_evs.account signup
# Signed the generated app
python -m castlabs_evs.vmp sign-pkg Udemy-win32-x64
```
#### [no-overwrite]
```