ihmpavel / expo-video-player

Customizable Video Player controls for Expo
https://npm.im/expo-video-player
MIT License
205 stars 110 forks source link

Added controlsStyle props #820

Closed clwy-cn closed 1 year ago

clwy-cn commented 1 year ago

Allows user to pass controlsStyle props when using the player.

For example:

<VideoPlayer
  // ... others
  controlsStyle={{
    bottom: 24,
    left: 12,
    right: 12,
  }}
/>
ihmpavel commented 1 year ago

Hi,

I'll be happy to merge, if you make change in /lib/index.tsx file instead of index.js. The changes you made will be rewritten by another build, because dist folder is already compiled version.

clwy-cn commented 1 year ago

Sorry for that, I didn't check it carefully. Let me submit a new PR.