How to build and integrate pepper flash plugin into my own build chromium browser?

1,179 views
Skip to first unread message

Grail Guo

unread,
Oct 23, 2012, 6:00:02 AM10/23/12
to chromium...@chromium.org
I have built the chromium browser source, by default the pepper flash plugin is not build and use by my own build chromium browser.
I want my own build chromium browser can use pepper flash plugin. 
Please help... 

Br,
Grail

Pavel Ivanov

unread,
Oct 23, 2012, 9:47:37 AM10/23/12
to tep...@gmail.com, chromium...@chromium.org
Flash is not an open source project, you can't build it yourself. But
you can copy the library from the Chrome installation.

Pavel
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss

Grail Guo

unread,
Oct 23, 2012, 10:56:42 PM10/23/12
to chromium...@chromium.org, tep...@gmail.com
Thanks Pavel. And ...

I have copied the whole \PepperFlash folder from the Chrome installation folder into my build output folder, but the my built chrome still cannot find out and list the pepflashplayer.dll plugin in chrome://plugins page.

Until I replace my built chrome.dll with the Chrome installation chrome.dll, the pepflashplayer.dll plugin was found and listed in chrome://plugins page.

I guess the Chrome installation chrome.dll project must be configured specifically when build the formal release.
I want to know how can make my built chrome could find the \PepperFlash\pepflashplayer.dll which copied from Chrome installation folder and listed it in chrome://plugins page?

Br,
Grail

Victor Hsieh

unread,
Oct 23, 2012, 11:16:26 PM10/23/12
to tep...@gmail.com, chromium...@chromium.org
Try --ppapi-flash-path=path/to/PepperFlash/libpepflashplayer.so

Grail Guo

unread,
Oct 23, 2012, 11:35:19 PM10/23/12
to chromium...@chromium.org, tep...@gmail.com
Great! it works. 
Is there any way to make the chrome load the PepperFlash by default, without add the command line switch  --ppapi-flash-path=path/to/PepperFlash/libpepflashplayer.so 

Br,
Grail
Message has been deleted
Message has been deleted

Grail Guo

unread,
Oct 24, 2012, 10:05:34 PM10/24/12
to chromium...@chromium.org, tep...@gmail.com
By default the dev build chrome not enable to load the pepper flash plugin automatically.
If dev want to their build chrome load the pepper flash plugin just like the formal release build does, 
they need to :
1. change the $\chromiumtrunk\src\third_party\adobe\flash\flapper_version.h then build the chrome 
add this two line into the header file, the version number depends on the binary file you got.
#define FLAPPER_AVAILABLE
#define FLAPPER_VERSION_STRING "xx.x.xx.xxx"

2. copy corresponding binary files into the build output folder. Both ${build output folder}\PepperFlashpepflashplayer.dll and ${build output folder}\PepperFlashmanifest.json.

3. run the dev build chrome, double click or from the command line :${build output folder}>chrome.exe[without add the command line switch  --ppapi-flash-path]

4. the pepper flash plugin loaded :)
Reply all
Reply to author
Forward
0 new messages