diff --git a/docs/guides/plugins.md b/docs/guides/plugins.md index 4a87d426d..51b7e3704 100644 --- a/docs/guides/plugins.md +++ b/docs/guides/plugins.md @@ -260,7 +260,7 @@ class Advanced extends Plugin { // Whenever the player emits a playing or paused event, we update the // state if necessary. - this.on(player, ['playing', 'paused'], this.updateState); + this.on(player, ['playing', 'pause'], this.updateState); this.on('statechanged', this.logState); }