Skip to content

Commit 763a7f5

Browse files
jessdvdvgkatsev
authored andcommitted
docs(plugins guide): changed paused to pause where appropriate (#4957)
Fixes #4951
1 parent de9069f commit 763a7f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Note that the [plugin generator](https://github.com/videojs/generator-videojs-pl
246246

247247
### Advanced Example Advanced Plugin
248248

249-
What follows is a complete ES6 advanced plugin that logs a custom message when the player's state changes between playing and paused. It uses all the described advanced features:
249+
What follows is a complete ES6 advanced plugin that logs a custom message when the player's state changes between playing and pause. It uses all the described advanced features:
250250

251251
```js
252252
import videojs from 'video.js';
@@ -258,7 +258,7 @@ class Advanced extends Plugin {
258258
constructor(player, options) {
259259
super(player, options);
260260

261-
// Whenever the player emits a playing or paused event, we update the
261+
// Whenever the player emits a playing or pause event, we update the
262262
// state if necessary.
263263
this.on(player, ['playing', 'pause'], this.updateState);
264264
this.on('statechanged', this.logState);

0 commit comments

Comments
 (0)