I want to achieve the feature when a user is in the video section React player will play the video and pause when the user leaves the section.
Asked
Active
Viewed 423 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Aug 02 '22 at 14:11
-
**Not enough useful info**... Why is a simple `If` statement not enough here? What is _"the video section"_ exactly, like is it a ``, or is it an `– VC.One Aug 02 '22 at 17:20