Add media play events to webview

This commit is contained in:
Brian R. Bondy 2015-12-19 22:16:22 -05:00
parent bff2861311
commit fed0c43970
9 changed files with 38 additions and 1 deletions

View file

@ -221,6 +221,14 @@ Emitted when `webContents` wants to do basic auth.
The usage is the same with [the `login` event of `app`](app.md#event-login).
### Event: 'media-started-playing'
Emitted when media starts playing.
### Event: 'media-paused'
Emitted when media is paused or done playing.
## Instance Methods
The `webContents` object has the following instance methods: