mirror of
https://github.com/videojs/video.js.git
synced 2025-01-04 06:48:49 +02:00
docs: Fix the advance plugin example in documentation (#4923)
This commit is contained in:
parent
7145a9cf1d
commit
4afabc2b0e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user