Questions tagged [react-native-video]

React Native video component

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

338 questions
6
votes
2 answers

Downloading private videos inapp react native

I am trying to implement something in react native: I have a url of video which i'm showing in react native video component, how can i give a button to download that same video in mobile but it should not appear in gallery. Also if the video is…
5
votes
2 answers

react-native-track-player crashing due to exo player version conflict in track-player and react-native-video

So I am using react-native-video and react-native-track-player parallelly, Normally both are working fine, but to use some extra functionalities of video player like buffering I have to use Exo player , but using exo player manually is making…
5
votes
1 answer

Can't play video H.264 on Android with Android Exoplayer react-native-video

The error code when video load error {"error": {"errorException": "com.google.android.exoplayer2.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.640034, -1, null, [2160, 3840, 24.000002],…
5
votes
2 answers

Error react-native-video : undefined is not an object (evaluating 'RCTVideoInstance.Constants')

I would like to use react-native-video in my app. However, what I've done doesn't work : I created a new project using expo init Project1 Then I installed react-native-video : npm install --save react-native-video I used then this : react-native…
Sebna665
  • 67
  • 2
  • 9
5
votes
4 answers

React-Native-Video -> how to save a video

I'm currently using react-native-video and playing HLS video streams through the package. Anyone know how i can download the video onto the phone gallery? Looking into the package there isn't any methods for that, and wondering if there is another…
user11666430
5
votes
0 answers

Unable to instantiate decoder OMX.amlogic.avc.decoder.awesome on react-native-video

I am building a react-native app for android and I am receiving an error when trying to play different videos using react-native-video. The error says: [errorException] =>…
Kosha Misa
  • 341
  • 1
  • 3
  • 14
5
votes
1 answer

Video suport for React-Native-Web

Is there any solutions for playing video in React-Native-Web React-Native-Web: https://github.com/necolas/react-native-web React-Native-Video: https://github.com/react-native-community/react-native-video
5
votes
0 answers

react-native-video. How to unmount video?

I use react-native-video and react-native-video-player libraries. And my question is next - how to unmount video? I have a list of videos (I make request to take all of them but show only 5 at first, than i press button "Show more" and load 5 more…
user11233035
5
votes
0 answers

React-native-video plays only sound

I am trying to play a video in react-native-video, but I hear only sound. I checked that the file is valid (tried with few), all the callbacks are triggered during the playback. To narrow the problem down I made the following example:
bereal
  • 32,519
  • 6
  • 58
  • 104
4
votes
0 answers

How to load video fast like tiktok or Facebook in react native

I am trying to developed VideoFeed screen where user can view the number of video one by one. I have used flatlist to render the video and used react-native-video library to play vide. In android I have used ExoPlayer to play the video. I am using…
Pankaj Sonava
  • 519
  • 4
  • 20
4
votes
1 answer

Use first frame of video as thumbnail

I am using react-native-video And it have a props called poster which is working fine. But my requirement is to get that thumbnail from video (first frame of video). If I don't use poster (which accept an url) then it is showing blank screen. Any…
4
votes
1 answer

Does react-native-video supports live streaming from hls url?

I'm using react-native-video for steaming hls url. It works fine with box react-native run-android but after building a bundleRelease the live streaming video is not playing
4
votes
1 answer

How should i add quality selector to react native video?

I have created the video player with react-native-video, but now i have to add a quality selector to that player,how should i do that.
4
votes
2 answers

How do I pause a playing video (played with react-native-video) when user scrolls to another page in a viewpager (@react-native-community/viewpager)?

In my app I am using a ViewPager (@react-native-community/viewpager) to display several pages. Some of these pages contain videos that I am displaying using react-native-video. If I start a video on one page and then scroll to the next page the…
Robban
  • 1,191
  • 2
  • 13
  • 25
4
votes
0 answers

How can I hide the sound and full screen button in react-native-video

Any option to hide the sound and fullscreen icon in video screen. I am using react-native-video package.
sejn
  • 2,040
  • 6
  • 28
  • 82
1
2
3
22 23