Closed nerijus closed 8 years ago
(related issue: #167)
It doesn't work that way. HTML5 Encrypted Media Extensions don't use the same plugin interface as Flash does. So even if you add appropriate wrappers for PPB_ContentDecryptor
API which libwidevinecdmadapter.so
exposes, they are of no use.
Instead, Gecko Media Plugins interface should be used. And there is also no need of PPAPI adapters at all. Another type of adapter is still required, since Firefox and Chrome have different content decryption modules (CDMs) format. But they are similar enough to make it: https://github.com/i-rinat/gmp-widevine
Note, that you'll have to use sufficiently recent Firefox version, patch it, and compile from source. Current approach is to hardcode allowed CDM schemes, so you won't be able to load arbitrary module into mainline Firefox version.
As it cannot be implemented in freshplayerplugin
at all, I'm putting "wontfix" here.
Just FYI, https://github.com/i-rinat/gmp-widevine works with FF 45 beta.
Is it possible to use with chromium-widevinecdm-plugin (needed for Netflix) instead of flash plugin? I tried a quick diff:
Firefox now sees "Widevine Content Decryption Module", but netflix still does not work and complains about WidevineCdm problem.