forked from hokein/electron-sample-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
# Pepper-Flash-Plugin Sample | ||
|
||
A sample shows Pepper Flash Plugin usage in Electron. More details can be found | ||
at https://github.com/atom/electron/blob/master/docs/tutorial/using-pepper-flash-plugin.md. | ||
|
||
## Run steps | ||
|
||
1. Copy the pepper flash plugin under the current app directory. | ||
|
||
2. Make ppapi-flash-version in `main.js` align with the copied plugin's. | ||
|
||
3. Run the sample `electron path/to/electron-sample-apps/pepper-flash-plugin`. | ||
If it succees, you can view `You have version X.X.X.X installed` in the sample page. | ||
|
||
## Ways to find pepper flash plugin | ||
|
||
1. Copy from Chrome Browser: you can find the plugin(`Adobe Flash Player`) location | ||
by navigating `chrome:://plugins` in Chrome Browser. | ||
|
||
2. Manually install Adobe Flash Player from https://get.adobe.com/flashplayer/otherversions/. | ||
Then you can find plugin in the installed directory, ie. On Windows, the directory | ||
is under `C:\Windows\SysWOW64\Macromed\Flash`(32-bits) and `C:\Windows\System32\Macromed\Flash`(64-bits). | ||
|
||
## Troublesome | ||
|
||
###Failed to load Pepper module from /path/to/pepper-flash-plugin (error: 193) | ||
|
||
This means you mixing up the architectures. You need to make the architecture | ||
of flash plugin consitent with Electron you run, e.g., load 32-bit flash plugin | ||
in 32-bit Electron. | ||
# Pepper-Flash-Plugin Sample | ||
|
||
A sample shows Pepper Flash Plugin usage in Electron. More details can be found | ||
at https://github.com/atom/electron/blob/master/docs/tutorial/using-pepper-flash-plugin.md. | ||
|
||
## Run steps | ||
|
||
1. Copy the pepper flash plugin under the current app directory. | ||
|
||
2. Make ppapi-flash-version in `main.js` align with the copied plugin's. | ||
|
||
3. Run the sample `electron path/to/electron-sample-apps/pepper-flash-plugin`. | ||
If it succees, you can view `You have version X.X.X.X installed` in the sample page. | ||
|
||
## Ways to find pepper flash plugin | ||
|
||
1. Copy from Chrome Browser: you can find the plugin(`Adobe Flash Player`) location | ||
by navigating `chrome:://plugins` in Chrome Browser. | ||
|
||
2. Manually install Adobe Flash Player from https://get.adobe.com/flashplayer/otherversions/. | ||
Then you can find plugin in the installed directory, ie. On Windows, the directory | ||
is under `C:\Windows\SysWOW64\Macromed\Flash`(32-bits) and `C:\Windows\System32\Macromed\Flash`(64-bits). | ||
|
||
## Troublesome | ||
|
||
###Failed to load Pepper module from /path/to/pepper-flash-plugin (error: 193) | ||
|
||
This means you mixing up the architectures. You need to make the architecture | ||
of flash plugin consitent with Electron you run, e.g., load 32-bit flash plugin | ||
in 32-bit Electron. | ||
|
||
|
||
## Screenshot | ||
|
||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.