diff --git a/docs/guides/plugins.md b/docs/guides/plugins.md index 51b7e37049..9c063ec1f4 100644 --- a/docs/guides/plugins.md +++ b/docs/guides/plugins.md @@ -246,7 +246,7 @@ Note that the [plugin generator](https://github.com/videojs/generator-videojs-pl ### Advanced Example Advanced Plugin -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: +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: ```js import videojs from 'video.js'; @@ -258,7 +258,7 @@ class Advanced extends Plugin { constructor(player, options) { super(player, options); - // Whenever the player emits a playing or paused event, we update the + // Whenever the player emits a playing or pause event, we update the // state if necessary. this.on(player, ['playing', 'pause'], this.updateState); this.on('statechanged', this.logState);