LunatiqueCoder / react-native-media-console

A React Native video player. Built with TypeScript ❤️
MIT License
194 stars 29 forks source link

showOnStart doesn't prevent controls to show when the video starts #78

Closed fabiodc95neo closed 1 year ago

fabiodc95neo commented 1 year ago

Hello, I'm trying to prevent the video player to show controls by default when video start but setting the prop showOnStart: false (default state by the way) isn't working and, also trying to disable each controls individually doesn't prevent the controls' animation effect (overlay effect) to show up. I'm currently reporting while working and testing with an android device (v13 installed). Could anyone help me to solve this issue? Thanks in advance.

LunatiqueCoder commented 1 year ago

@fabiodc95neo Looking into it. For now, we're adding disableOverlay prop in #55

LunatiqueCoder commented 1 year ago

@fabiodc95neo For me it seems that showOnStart={false} works. Also, if I remove the prop also works. Closing for now until we have better reproduction steps or a reproduction repository.

fabiodc95neo commented 1 year ago

@LunatiqueCoder You're right, using the prop after a bunch of changes on my component's code seems to work well. Thank you for your support!