Right-click on “Google Chrome” and select “Uninstall”. After uninstalling the application, head over to the official Google website and download Chrome to an accessible location. After downloading Chrome, run the executable to install it. Now check if installing the new browser helped solve your problem.
Inside it, paste the WidevineCdmfolder from the /out folder. Put the manifest.json inside the WidevineCdm folder. It should work now. Alternatively, you can just download Chrome and copy the Libraries folder from their package - it also works, even if the Chromium and Chrome. Get rid of suspicious and unwanted programs from Windows 8 – Press the Windows Key to open Start Screen.If it does not comes out, then use this option: Win 8 User – Hover the cursor in the bottom-left corner of your win 8 screen and wait for the Start Screen appears, then click on the icon to toggle over to the Start Screen; Win 8.1 User – Click on the Start icon in the lower left.
In Electron you can use the Widevine CDM plugin shipped with Chrome browser.
![How to update widevinecdm How to update widevinecdm](/uploads/1/2/7/8/127812666/906194487.jpg)
![Mac Mac](/uploads/1/2/7/8/127812666/248968254.jpg)
Getting the plugin
Electron doesn't ship with the Widevine CDM plugin for license reasons, to getit, you need to install the official Chrome browser first, which should matchthe architecture and Chrome version of the Electron build you use.
Note: The major version of Chrome browser has to be the same with the Chromeversion used by Electron, otherwise the plugin will not work even though
navigator.plugins
would show it has been loaded.Widevinecdm Download Chrome Mac Version
Windows & OS X
Open
chrome://components/
in Chrome browser, find WidevineCdm
and makesure it is up to date, then you can find all the plugin binaries from theAPP_DATA/Google/Chrome/WidevineCDM/VERSION/_platform_specific/PLATFORM_ARCH/
directory.APP_DATA
is system's location for storing app data, on Windows it is%LOCALAPPDATA%
, on OS X it is ~/Library/Application Support
. VERSION
isWidevine CDM plugin's version string, like 1.4.8.866
. PLATFORM
is mac
orwin
. ARCH
is x86
or x64
.On Windows the required binaries are
widevinecdm.dll
andwidevinecdmadapter.dll
, on OS X they are libwidevinecdm.dylib
andwidevinecdmadapter.plugin
. You can copy them to anywhere you like, but theyhave to be put together.Linux
On Linux the plugin binaries are shipped together with Chrome browser, you canfind them under
/opt/google/chrome
, the filenames are libwidevinecdm.so
andlibwidevinecdmadapter.so
.Using the plugin
After getting the plugin files, you should pass the
widevinecdmadapter
's pathto Electron with --widevine-cdm-path
command line switch, and the plugin'sversion with --widevine-cdm-version
switch.Note: Though only the
widevinecdmadapter
binary is passed to Electron, thewidevinecdm
binary has to be put aside it.The command line switches have to be passed before the
ready
event of app
module gets emitted, and the page that uses this plugin must have pluginenabled.Example code:
Verifying the plugin
To verify whether the plugin works, you can use following ways:
How To Update Widevinecdm
- Open devtools and check whether
navigator.plugins
includes the WidevineCDM plugin. - Open https://shaka-player-demo.appspot.com/ and load a manifest that uses
Widevine
. - Open http://www.dash-player.com/demo/drm-test-area/, check whether the pagesays
bitdash uses Widevine in your browser
, then play the video.