Open 13arturbruno opened 6 years ago
Transform this code in VideoPlayer
can you show me how the Video has been resized and centralized with this? cause Video from Expo in my app it´s not resized, the video play in your nativeSize .or something, inside de with size that i configured. ask me in Twitter (@nickolas52468) and i can explain to you with more details.
Trying to resize the video display to fit inside a card component. Is it possible to set height and width dimensions?
Hi everyone- this repo isn't maintained anymore, so we suggest using https://github.com/ihmpavel/expo-video-player instead (we actually point to this repo anyways in the Expo Video docs)
I need resize VideoPlayer how component Video, its posible.
<View style={{alignItems: "center",padding:10, width: deviceWidth - 40, height:180, backgroundColor:'#fff'}}> <Video source={{ uri: url }} shouldPlay resizeMode="cover" useNativeControls style={{ width: deviceWidth - 60, height:150}} />
can resize VideoPlayer component ? i cant