Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Resize VideoPlayer in screen #40

Open
13arturbruno opened this issue Oct 8, 2018 · 4 comments
Open

Resize VideoPlayer in screen #40

13arturbruno opened this issue Oct 8, 2018 · 4 comments

Comments

@13arturbruno
Copy link

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

@13arturbruno
Copy link
Author

Transform this code in VideoPlayer

@nickolas52468
Copy link

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

@Beissner
Copy link

Trying to resize the video display to fit inside a card component. Is it possible to set height and width dimensions?

@cruzach
Copy link
Contributor

cruzach commented Jun 7, 2019

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants