Skip to content

Commit cdda46a

Browse files
author
Shahen Hovhannisyan
committed
chore(README.md): added resizeMode usage example
1 parent a6955ca commit cdda46a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ class App extends Component {
102102
playerWidth={300} // iOS only
103103
playerHeight={500} // iOS only
104104
style={{ backgroundColor: 'black' }}
105+
resizeMode={VideoPlayer.Constants.resizeMode.CONTAIN}
105106
onChange={({ nativeEvent }) => console.log({ nativeEvent })} // get Current time on every second
106107
/>
107108
<Trimmer

0 commit comments

Comments
 (0)