diff --git a/docs/guides/plugins.md b/docs/guides/plugins.md index 52ef0d9e2c..bd0b3985ee 100644 --- a/docs/guides/plugins.md +++ b/docs/guides/plugins.md @@ -251,7 +251,7 @@ class Advanced extends Plugin { } updateState() { - this.setState({playing: !player.paused()}); + this.setState({playing: !this.player.paused()}); } logState(changed) {