Questions tagged [react-native-video]

React Native video component

React Native video component - https://github.com/react-native-community/react-native-video

338 questions
1
vote
0 answers

React Native Video plays from paused state when list gets updated

I have a video player with a list of video thumbnails beneath it, and I'm accommodating pagination to update that list. When new videos get added to my state and the video is paused, the component re-renders and because autoplay is set by default,…
jschuss
  • 645
  • 1
  • 8
  • 21
1
vote
0 answers

React native video taking too much time to show video stream at beginning(nodejs streaming)

I am using nodejs video streaming on the backend and front-end side is React-native. The nodejs video streaming is works for me but its taking too much time to load at the beginning on video player and also not showing loading. I'm using…
1
vote
1 answer

Cannot read property 'seek' of undefined

I'm trying to use the react-native-video component as follows: export default class VideoWrapper extends Component { render() { return (
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
1
vote
1 answer

How can I add and compile local copy of a library into Android React Native module?

How Can I add to native module, external library source code. In the case, I want to add a local copy of ExoPlayer to react-native-video module. I want to "git clone" the original source of the ExoPlayer inside…
1
vote
1 answer

How do I play video in react-native only when user sees the full video component?

I am using react-native-video-player to play video in my app. I have a screen that renders sub-components where, in each one of them I have a video player embedded. My question is, how do I only make a video play when the user sees the entirety of…
Michael Ostrovsky
  • 629
  • 1
  • 7
  • 21
1
vote
0 answers

Detox :Detox Android build fails for the react-native-video

when I am trying to build with detox for android it gives me the following error Execution failed for task ':react-native-video:transformClassesWithDexBuilderForDebugAndroidTest'. com.android.build.api.transform.TransformException:…
1
vote
1 answer

How to resize video without changing it's aspect ratio?

constructor(props) { super(props); this.state = { screenWidth: Dimensions.get('window').width, heightScaled: null, }; }
1
vote
1 answer

react-native-image-picker duration of video

I'm using react-native-image-picker library for video recording and react-native-video to play video in which duration of video in onLoad callback function is given but how can I use it in my code can anyone please guide me? I have written…
1
vote
1 answer

React native Android Generate Signed APK giving Resource error

I have completed my android project on React Native and finding this error while compiling the project for Signed Apk. > Task :react-native-video:compileReleaseJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile…
Kedar Dave
  • 471
  • 12
  • 25
1
vote
2 answers

ClojureScript + React-Native - Embed Videos

I am new to ClojureScript. I would like to embed video (Youtube) to the hybrid mobile app using ClojureScript and React Native. I have tried to implement react-native-video and react-native-youtube plugins in ClojureScript for achieving this. But,…
1
vote
0 answers

Video can't re-load when hosting on AWS's S3 + CloudFare

Current behavior Videos can't re-start (infinite "buffering") when using videos hosted on AWS's S3 + cached by CloudFlare. The same video hosted on another simple web server loads just fine each time, no matter how many times I try removing/adding…
1
vote
1 answer

React Native Ios Video install npm

I keep getting error when attempting to install Video component. I am typing in: `npm install --save react-native-video npm ERR! enoent This is related to npm not being able to find a file. did anyone else run into the problem? Above are the…
Bakari Lewis
  • 91
  • 1
  • 1
  • 11
1
vote
0 answers

react-native-video doesn't take the remote url

In my application, I use react-native-player library. I have included it inside a component and source uri is set via a prop. let video = trainingProgress.currentMovementVideo;
Shashika Virajh
  • 8,497
  • 17
  • 59
  • 103
1
vote
1 answer

Is there any way I can play videos with Third-Party Video players in my mobile using React-Native?

I am storing my videos in Firebase Storage. I want to give an option to play the videos i am retrieving from Firebase in a Third-Party player.
Ron Astle Lobo
  • 1,284
  • 2
  • 14
  • 34
1
vote
0 answers

Play DRM content in React Native

How do I play DRM content in React Native without using any native modules? It is a pure JS app. I have tried using the React Native Video library but they don't support DRM as yet.
khateeb
  • 5,265
  • 15
  • 58
  • 114