freshplayerplugin icon indicating copy to clipboard operation
freshplayerplugin copied to clipboard

Wayland support?

Open woutervanh opened this issue 5 years ago • 1 comments

Would this wrapper also work on wayland?

woutervanh avatar Jun 20 '19 15:06 woutervanh

Nope. The code uses Xlib and GTK+ a lot. NPAPI itself is heavily tied to Xlib/X11 and GTK+, with both explicit and implicit dependencies. There is no way to make it work on Wayland.

It's possible to make PPAPI Flash work on Wayland, as PPAPI isolates all interactions with a system, to make sandboxing possible. There was project Mortar[1] at Mozilla which tried to bring PPAPI to Firefox. It could allow working PPAPI Flash even on Wayland, but-- nothing happened. Also its primary goal was to bring in PDFium, not Flash.

I guess it's still possible to implement something like that with minimal changes to the Firefox, with all PPAPI implementation living in a browser addon, rather than in Firefox itself, as Mortar had planned.

[1] https://wiki.mozilla.org/Mortar_Project; see page history for the hidden content.

i-rinat avatar Jun 21 '19 13:06 i-rinat