vendredi 6 janvier 2017

How to implement widevine in electron app

I am having problems to play widevine content in electron. I am trying to convert ember-app to electron app. Except widevine content everything works great, Version info are:

  • Shaka 2.02
  • Electron 1.4.13(Chromium 53)
  • Electron Packager 8.4.0
  • Widevine v1.4.8.903

I used http://ift.tt/2hXSeIH docs. In order to check my player i load shaka-demo app.

I included widevine like this ``` app.commandLine.appendSwitch('widevine-cdm-path', path.join(__dirname, ./widevine/1.4.8.903/_platform_specific/linux_x64/libwidevinecdmadapter.so)); app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.903');

``` Also added plugins: true. When i load mainWindow.loadURL('http://ift.tt/1Wn45tD'); to play widevine content it's disabled. I have tried navigator.plugins still can not play widevine content




Aucun commentaire:

Enregistrer un commentaire