Add media play events to webview
This commit is contained in:
parent
bff2861311
commit
fed0c43970
9 changed files with 38 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue