Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
`const percent = this.player.currentTime / this.player.duration`, returned a number above 1 on IE 11, therefore, never entered, the if (!this._timePercentEvent.PLAY_REACHED_100 && percent === 1) condition. The fix: Limiting the float to have only 2 decimals at the end using the toFixed function. Parsing the calculation using parseFloat function.
- Loading branch information