Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does freshplayerplugin can be used a plugin on chromium[version:69] #388

Open
334943013 opened this issue May 10, 2021 · 19 comments
Open

Does freshplayerplugin can be used a plugin on chromium[version:69] #388

334943013 opened this issue May 10, 2021 · 19 comments

Comments

@334943013
Copy link

On x86_64 or Armv8 platform:
How to let chromium load this freshplayer?
can somebody give me some suggestion?

@i-rinat
Copy link
Owner

i-rinat commented May 12, 2021

You don't need freshplayerplugin if you want Flash in Chromium, since Chromium already implements PPAPI. You'll need to find appropriate build of PepperFlash, for x86-64 or for aarch64, and then tell Chromium to load it. I believe, instructions still can be found on the web. Search for "ppapi-flash-path".

@334943013
Copy link
Author

You don't need freshplayerplugin if you want Flash in Chromium, since Chromium already implements PPAPI. You'll need to find appropriate build of PepperFlash, for x86-64 or for aarch64, and then tell Chromium to load it. I believe, instructions still can be found on the web. Search for "ppapi-flash-path".

Now I'm stucking with finding approriate PeppFlashPlayer. As I known, google maintains Pepper Flash Player. Is this Player lied in chormium platform structure? or I compile the whole chromium code and the libpepflashplayer.so should be generated in my compilation?

@i-rinat
Copy link
Owner

i-rinat commented May 12, 2021

and the libpepflashplayer.so should be generated in my compilation?

Flash and its variation with PPAPI interface sometimes called PepperFlash, is a closed-source product owned by Adobe. There are no complete public source available, so you can't just build it. As Adobe took down it from their website, the only way to get is to go to archive.org. I believe Archive.org saved some of the last bundles. You should be able to find i386 and x86-64 versions suitable for Chromium.

As for AArch64 version, I'm not sure it was even publicly available. As far as I know, ARM version of PepperFlash was sourced from ChromeOS recovery images, which all were built for 32-bit ARM. Also, those are not available anymore, and I don't know if anybody had saved a copy to Archive or not.

@ROBERT-MCDOWELL
Copy link

link of the last chrome os recovery with widevine-flash_armXX.shh script that contained Widevine and PepperFlash for arm64 and armhf
https://www.e-blokos.com/ipxe/widevine-flash-20210306_arm64.tgz
https://www.e-blokos.com/ipxe/widevine-flash-20210306_armhf.tgz

@334943013
Copy link
Author

link of the last chrome os recovery with widevine-flash_armXX.shh script that contained Widevine and PepperFlash for arm64 and armhf
https://www.e-blokos.com/ipxe/widevine-flash-20210306_arm64.tgz
https://www.e-blokos.com/ipxe/widevine-flash-20210306_armhf.tgz

I had downloaded two packages, Both are arm-32bit.

@ROBERT-MCDOWELL
Copy link

arm64 and armhf are not 32 bits. these libpepperflash.so are the originals from Chrome OS recovery.

@ROBERT-MCDOWELL
Copy link

and btw, at least tell me thanks to find them for you...

@334943013
Copy link
Author

and btw, at least tell me thanks to find them for you...

I'm appreciating for your link.I would like found others version for aarch64.

@334943013
Copy link
Author

and the libpepflashplayer.so should be generated in my compilation?

Flash and its variation with PPAPI interface sometimes called PepperFlash, is a closed-source product owned by Adobe. There are no complete public source available, so you can't just build it. As Adobe took down it from their website, the only way to get is to go to archive.org. I believe Archive.org saved some of the last bundles. You should be able to find i386 and x86-64 versions suitable for Chromium.

As for AArch64 version, I'm not sure it was even publicly available. As far as I know, ARM version of PepperFlash was sourced from ChromeOS recovery images, which all were built for 32-bit ARM. Also, those are not available anymore, and I don't know if anybody had saved a copy to Archive or not.

That's a bad new...Btw, thanks for you suggestion.

@ROBERT-MCDOWELL
Copy link

I never saw Flash plugin for aarch64 but Linux

@334943013
Copy link
Author

I never saw Flash plugin for aarch64 but Linux

Em, I just need linux version base on aarch64. Fox x86_64, i think it's not a problem now because the old adobe flash plugins stilled can be used

@ROBERT-MCDOWELL
Copy link

ppapi flash plugin version 32.0.0.371
https://www.e-blokos.com/ipxe/flash_player_ppapi_linux.x86_64.tar.gz

@i-rinat
Copy link
Owner

i-rinat commented May 13, 2021

I just need linux version base on aarch64

There was a time when Linux version of Flash was only built for i386. To use it on amd64 installations, people used nspluginwrapper. I'm not sure if AArch64 Linux distributions can run AArch32 applications. But if they do, similar approach can be used. It will probably be a lot harder to implement such adapter for PPAPI rather than for NPAPI, but it should be possible.

@kero990
Copy link

kero990 commented Mar 30, 2022

link of the last chrome os recovery with widevine-flash_armXX.shh script that contained Widevine and PepperFlash for arm64 and armhf https://www.e-blokos.com/ipxe/widevine-flash-20210306_arm64.tgz https://www.e-blokos.com/ipxe/widevine-flash-20210306_armhf.tgz

What I want to know is, which version of chrome or chromium can still support ppapi flash, according to me, it is completely impossible after the v88 version.
Moreover, under the arm64 architecture, there is no chrome, only chromium, and only the snapd store is maintained, and there seems to be no download of earlier versions.

@kero990
Copy link

kero990 commented Mar 30, 2022

In addition, the earlier version of this project also seems to compile the installation package for the arm64 architecture. What I want to ask is which version of firefox does it support, is the latest version ok?
@i-rinat

@kero990
Copy link

kero990 commented Mar 30, 2022

上一次 chrome os 恢复与widevine-flash_armXX.shh 脚本的链接,该脚本包含用于arm64 和armhf 的Widevine 和PepperFlash https://www.e-blokos.com/ipxe/widevine-flash-20210306_arm64.tgz https://www。 e-blokos.com/ipxe/widevine-flash-20210306_armhf.tgz

Tested the libpepflashplayer.so in the link and found that it is still a package for armhf, not arm64, even though it does label arm64. In addition, the chromium itself under arm64 also carries a libpepflashplayer.so, but unfortunately, it is x64.
It seems that there is really no way to run flash correctly under the arm64 architecture.

@proxy-m
Copy link

proxy-m commented Apr 18, 2022

上一次 chrome os 恢复与widevine-flash_armXX.shh 脚本的链接,该脚本包含用于arm64 和armhf 的Widevine 和PepperFlash https://www.e-blokos.com/ipxe/widevine-flash-20210306_arm64.tgz https://www。 e-blokos.com/ipxe/widevine-flash-20210306_armhf.tgz

Tested the libpepflashplayer.so in the link and found that it is still a package for armhf, not arm64, even though it does label arm64. In addition, the chromium itself under arm64 also carries a libpepflashplayer.so, but unfortunately, it is x64. It seems that there is really no way to run flash correctly under the arm64 architecture.

You can use chromium/firefox+libpepflashplayer both arm 32bit even on arm64. You just need appropriate Linux arm64 CONFIG_COMPAT option https://github.com/torvalds/linux/blob/v4.17/arch/arm64/Kconfig#L1274 which says:

This option enables support for a 32-bit EL0 running under a 64-bit
kernel at EL1. AArch32-specific components such as system calls,
the user helper functions, VFP support and the ptrace interface are
handled appropriately by the kernel.

or dpkg --add-architecture armhf on debian-like binary system with package manager https://forum.odroid.com/viewtopic.php?t=18806

# sudo dpkg --add-architecture armhf
# sudo apt-get update
# sudo apt-get install libc6:armhf
# sudo ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
$ ./btsync 
By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.

@i-rinat
Copy link
Owner

i-rinat commented Apr 18, 2022

the earlier version of this project also seems to compile the installation package for the arm64 architecture

This repository contains only source code, not binaries. But I think there should be no obstacles compiling code for arm64. I never tried that though.

which version of firefox does it support, is the latest version ok?

I think the latest version of Firefox still supporting Flash was Firefox 84: https://blog.mozilla.org/futurereleases/2020/11/17/ending-firefox-support-for-flash/. From Firefox 85 and later, support for NPAPI interface was removed. As freshplayerplugin connects to a browser by NPAPI interface, it cannot be used anymore.

For the ESR branch, latest Firefox with Flash support is Firefox 78 ESR, I believe.

@i-rinat
Copy link
Owner

i-rinat commented Apr 18, 2022

It seems that there is really no way to run flash correctly under the arm64 architecture.

When Flash player for Linux was only for 32-bit x86, there was a multi-process adapter called "nspluginwrapper". It hosted an actual 32-bit Flash plugin in a 32-bit process, while a 64-bit plugin part of nspluginwrapper running inside a 64-bit browser communicated with nspluginwrapper's host process.

You may try to adapt this to ARM64. As far as I know, it's possible to run 32-bit processes on ARM64 Linux if support was enabled in the kernel. Chain will be long: Firefox Content process (arm64) → Firefox Plugin Host process (arm64) → nspluginwrapper plugin part (arm64) → nspluginwrapper host part (armhf) → Freshplayerplugin (armhf) → PPAPI Flash (armhf). There could be some locking issues, but this may actually work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants