1
0
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:
Ku Lok Sun 2018-02-10 03:16:18 +08:00 committed by Gary Katsevman
parent 7145a9cf1d
commit 4afabc2b0e

View File

@ -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);
}