Best way to change the hideDelay
prop with the default layout?
#1015
Answered
by
mihar-22
miketdonahue
asked this question in
Q&A
-
Hi All, I'd like to change the I am using the standard, default layout with the React component. Is there a way to change the Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
mihar-22
Nov 23, 2023
Replies: 1 comment 3 replies
-
You can change it on the player instance: const player = useRef<MediaPlayerInstance>(null);
useEffect(() => {
player.current.controls.defaultDelay = 2000;
}, []);
<MediaPlayer ref={player}> Hope that helps! Let me know if there's any issues. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
miketdonahue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can change it on the player instance:
Hope that helps! Let me know if there's any issues.