shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 321 forks source link

Error while updating property 'source' of a view managed by: RNVideoProcessing #390

Open swathycsv opened 1 year ago

swathycsv commented 1 year ago

Error while updating property 'source' of a view managed by: RNVideoProcessing

Current Behavior

It is working fine in ios, but not working in android. Error got in android is Error while updating property 'source' of a view managed by: RNVideoProcessing.

<VideoPlayer ref={videoPlayerRef} startTime={30} // seconds endTime={120} // seconds play={true} // default false replay={true} // should player play video again if it's ended rotate={true} // use this prop to rotate video if it captured in landscape mode iOS only source={'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'} playerWidth={300} // iOS only playerHeight={500} // iOS only resizeMode={VideoPlayer.Constants.resizeMode.CONTAIN} onChange={({ nativeEvent }) => console.log({ nativeEvent })} // get Current time on every second />

Environment

software version
react-native-video-processing 1.7.2
react-native 0.71.2