Skip to content

Commit

Permalink
Merge pull request #110 from clappr/feature/fix-logic-to-disable-play…
Browse files Browse the repository at this point in the history
…head-moving-check

HTML5 Video - Fix logic to disable playhead moving check
  • Loading branch information
jhonatangcavalcanti authored Aug 28, 2023
2 parents 9b0523a + a4e51ea commit fa2823b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playbacks/html5_video/html5_video.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export default class HTML5Video extends Playback {
}

_startPlayheadMovingChecks() {
if (this._playheadMovingTimer !== null && !this._playheadMovingCheckEnabled)
if (this._playheadMovingTimer !== null || !this._playheadMovingCheckEnabled)
return

this._playheadMovingTimeOnCheck = null
Expand Down

0 comments on commit fa2823b

Please sign in to comment.