From b0ca51fe0a73179d3ac73ea95713a08e94559dc3 Mon Sep 17 00:00:00 2001 From: JWebDev Date: Tue, 13 Feb 2018 19:52:21 -0800 Subject: [PATCH] fix: changed paused to pause where appropriate --- docs/guides/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);