]> khamidou — GitHub mirrors - electron.git/commitdiff
Standardize pepper flash
authorJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 02:23:43 +0000 (19:23 -0700)
committerJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 02:23:43 +0000 (19:23 -0700)
docs/tutorial/using-pepper-flash-plugin.md

index 20b29c4114a9e8633baaf6bbcb70e1dff4d1569e..5c8820c2fad41945469ce30d2f12148e02403009 100644 (file)
@@ -1,14 +1,22 @@
 # Using Pepper Flash Plugin
 
-Pepper flash plugin is now supported. To use pepper flash plugin in Electron, you should manually specify the location of pepper flash plugin and then enable it in your application.
+Electron now supports the Pepper Flash plugin. To use the Pepper Flash plugin in
+Electron, you should manually specify the location of the Pepper Flash plugin
+and then enable it in your application.
 
-## Prepare a copy of flash plugin
+## Prepare a Copy of Flash Plugin
 
-On OS X and Linux, the detail of pepper flash plugin can be found by navigating `chrome://plugins` in Chrome browser. Its location and version are useful for electron's pepper flash support. You can also copy it to anywhere else.
+On OS X and Linux, the details of the Pepper Flash plugin can be found by
+navigating to `chrome://plugins` in the Chrome browser. Its location and version
+are useful for Electron's Pepper Flash support. You can also copy it to another
+location.
 
-## Add Electron switch
+## Add Electron Switch
 
-You can directly add `--ppapi-flash-path` and `ppapi-flash-version` to electron commandline or by `app.commandLine.appendSwitch` method before app ready event. Also, add the `plugins` switch of `browser-window`. For example,
+You can directly add `--ppapi-flash-path` and `ppapi-flash-version` to the
+Electron command line or by using the `app.commandLine.appendSwitch` method
+before the app ready event. Also, add the `plugins` switch of `browser-window`.
+For example:
 
 ```javascript
 var app = require('app');
@@ -50,8 +58,10 @@ app.on('ready', function() {
 });
 ```
 
-## Enable flash plugin in a `<webview>` tag
+## Enable Flash Plugin in a `<webview>` Tag
+
 Add `plugins` attribute to `<webview>` tag.
+
 ```html
 <webview src="http://www.adobe.com/software/flash/about/" plugins></webview>
 ```