electron/docs/tutorial/using-pepper-flash-plugin-ko.md

60 lines
1.9 KiB
Markdown
Raw Normal View History

# Pepper <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>
<EFBFBD>ʿ<EFBFBD><EFBFBD>ϴٸ<EFBFBD> Pepper <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>. Electron<6F><6E><EFBFBD><EFBFBD> pepper <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD>ؼ<EFBFBD><D8BC><EFBFBD>, <20><><EFBFBD><EFBFBD> pepper <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ<EFBFBD><C4A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>־<EFBFBD><D6BE><EFBFBD><EFBFBD>մϴ<D5B4>.
## <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD> <20>غ<EFBFBD><D8BA>ϱ<EFBFBD>
ũ<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `chrome://plugins` <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> `<60><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>`<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ<EFBFBD><C4A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ã<><C3A3> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.
Electron<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD>ؼ<EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>;<EFBFBD> <20>մϴ<D5B4>.
## Electron <20><><EFBFBD><EFBFBD>ġ <20>߰<EFBFBD>
<EFBFBD>÷<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> `--ppapi-flash-path` <20><> `ppapi-flash-version` <20>÷<EFBFBD><C3B7>׸<EFBFBD> ready <20>̺<EFBFBD>Ʈ<EFBFBD><C6AE> ȣ<><C8A3><EFBFBD>DZ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>߰<EFBFBD><DFB0>ؾ<EFBFBD><D8BE>մϴ<D5B4>.
<EFBFBD>׸<EFBFBD><EFBFBD><EFBFBD> `browser-window`<EFBFBD><EFBFBD> `plugins` <20><><EFBFBD><EFBFBD>ġ<EFBFBD><C4A1> <20>߰<EFBFBD><DFB0>ؾ<EFBFBD><D8BE>մϴ<D5B4>.
```javascript
var app = require('app');
var BrowserWindow = require('browser-window');
// Report crashes to our server.
require('crash-reporter').start();
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the javascript object is GCed.
var mainWindow = null;
// Quit when all windows are closed.
app.on('window-all-closed', function() {
if (process.platform != 'darwin') {
app.quit();
}
});
// <20>÷<EFBFBD><C3B7><EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ<EFBFBD><C4A1> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
// Windows<77><73> <20><><EFBFBD><EFBFBD>, /path/to/pepflashplayer.dll
// Mac<61><63> <20><><EFBFBD><EFBFBD>, /path/to/PepperFlashPlayer.plugin
// Linux<75><78> <20><><EFBFBD><EFBFBD>, /path/to/libpepflashplayer.so
app.commandLine.appendSwitch('ppapi-flash-path', '/path/to/libpepflashplayer.so');
// Specify flash version, for example, v17.0.0.169
app.commandLine.appendSwitch('ppapi-flash-version', '17.0.0.169');
app.on('ready', function() {
mainWindow = new BrowserWindow({
'width': 800,
'height': 600,
'web-preferences': {
'plugins': true
}
});
mainWindow.loadUrl('file://' + __dirname + '/index.html');
// Something else
});
```
## `<webview>` <20>±׸<C2B1> <20>̿<EFBFBD><CCBF>Ͽ<EFBFBD> <20>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȱ<><C8B0>ȭ
`plugins` <20>Ӽ<EFBFBD><D3BC><EFBFBD> `<webview>` <20>±׿<C2B1> <20>߰<EFBFBD><DFB0>մϴ<D5B4>.
```html
<webview src="http://www.adobe.com/software/flash/about/" plugins></webview>
```