Skip to content

Commit

Permalink
fix(controls): Synced play event with timeout option to hide at the s…
Browse files Browse the repository at this point in the history
…ame time controls and play button
  • Loading branch information
rafa8626 committed Nov 27, 2018
1 parent a424cd1 commit 4073e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/controls.ts
Expand Up @@ -193,7 +193,7 @@ class Controls implements PlayerComponent {
};
this.events.media.play = () => {
if (isMediaVideo) {
this._startControlTimer(1000);
this._startControlTimer(this.player.getOptions().hidePlayBtnTimer);
}
};
this.events.media.pause = () => {
Expand Down

0 comments on commit 4073e4f

Please sign in to comment.