Comments (8)
You might want to use resizeMode="cover"
. If not, could you give an example of what you want?
from react-native-video-player.
Thanks you
from react-native-video-player.
Some parts of the video is getting clipped when using resizeMode="cover". Please help
from react-native-video-player.
Can you give an example of the result you want?
from react-native-video-player.
This is the video I am recording:
So the video is getting clipped. Below is my code for the video player:
<VideoPlayer
thumbnail={{uri: this.props.data.videoUrl.split('//')[1] }}
video={{uri: this.props.data.videoUrl.split('//')[1] }}
duration={this.props.data.duration}
style={styles.backgroundVideo}
resizeMode={"cover"}
/>
from react-native-video-player.
Are you sure that it is not in the video file? The camera preview in Android sometimes has a different resolution than the output file. I've had issues with this myself.
from react-native-video-player.
I have played this video file in VLC and its perfect. There is no problem with the video file. The flow is I am recording a video, storing it locally and then playing it in the next view. I think there is some problem with the dimensions of the video. Can you suggest something?
from react-native-video-player.
Could you share that video so I can test with it?
On Fri, Nov 4, 2016, 07:33 Tarun Chaudhary [email protected] wrote:
I have played this video file in VLC and its perfect. There is no problem
with the video file. The flow is I am recording a video, storing it locally
and then playing it in the next view. I think there is some problem with
the dimensions of the video. Can you suggest something?—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAizua3t_mcj7QIIG2NAeGECvbNwPbSzks5q6tGigaJpZM4KeP1o
.
from react-native-video-player.
Related Issues (20)
- TypeError: Cannot read properties of undefined (reading 'Constants') HOT 3
- Video is empty in production build
- disableSeek is not working with fullscreen mode HOT 1
- video load really slow HOT 4
- TypeError: _MaterialIcons.default.propTypes is undefined
- TypeError: undefined is not an object (evaluating '_reactNative.NativeModules.UIManager.RCTVideo.Constants HOT 3
- Full screen button not showing
- Maintenance update: looking for maintainers HOT 4
- invariant violation: ViewPropTypes has been removed from react native. migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'. HOT 2
- is .flv url is supported ?
- React native video issue in android HOT 4
- Not support style
- TypeError: undefined is not an object (evaluating '_MaterialIcons.default.propTypes.style') HOT 5
- Android Issue : First Video is not Playing
- Not able to Stream Data
- hi when i use vedio player zoom auto how i can disable this zoom
- Required play() method. HOT 1
- When I change video rate dynamically, sometimes video freezing.
- Could not resolve dependency HOT 1
- FullScreen Functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-video-player.