Skip to content

Commit

Permalink
fix: add default tolenrance value in seek api call
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier committed Oct 26, 2023
1 parent b7a1751 commit 41d93a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
nativeRef.current?.setNativeProps({
seek: {
time,
tolerance,
tolerance: tolerance || 0,
},
});
},
Expand Down

0 comments on commit 41d93a6

Please sign in to comment.