i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

FreshPlugin as browser extension #383

Open ROBERT-MCDOWELL opened 4 years ago

ROBERT-MCDOWELL commented 4 years ago

Hi Rinat, do you think it's technically possible to port FreshPlugin as a browser extension in near Future? Thanks

i-rinat commented 4 years ago

Probably, yes. But only as a combination of a native process that hosts binary plugin and a browser extension. I think, some changes need be performed in the Firefox too. At least to allow extension to handle embedded objects. Chromium has such feature, it's used for their PDFium, which consists of two parts, the renderer binary plugin and the extension, which also acts as a plugin, but in fact is implemented in HTML+Javascript. So I guess it's something in WebExtension spec.

I guess Adobe can bring Flash as an extension, if they somehow manage to adapt their code base to be compilable into WebAssembly. It sounds doable at a glance, but there are always details, which can make implementation impossible. Or at least unfeasible.

Important note. I have no experience in developing extensions at all, so all these are pure speculations.