Skip to content

Commit

Permalink
export function, change round to be optional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzipi-kaltura committed Nov 13, 2024
1 parent 9a031f6 commit 6c700e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/seekbar/seekbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ class SeekBar extends Component<any, any> {
aria-valuemin={0}
aria-valuemax={Math.round(this.props.duration)}
aria-valuenow={Math.round(this.props.currentTime)}
aria-valuetext={`${getTimeInText(props.currentTime, props.player.config.ui)} of ${getTimeInText(props.duration, props.player.config.ui)}`}
aria-valuetext={`${getTimeInText(props.currentTime, props.player.config.ui, true)} of ${getTimeInText(props.duration, props.player.config.ui, true)}`}
onMouseOver={this.onSeekbarMouseOver}
onMouseLeave={this.onSeekbarMouseLeave}
onMouseMove={this.onSeekbarMouseMove}
Expand Down

0 comments on commit 6c700e8

Please sign in to comment.