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
2 answers

How to pause video when moving to other tab in react native

I have implemented react native video in tabs(tabs are implemented using native base) but while moving to other tab(ontabpress) video still plays in background.Any help will be appericated.Thanks
payal tuteja
  • 170
  • 9
1
vote
1 answer

React-Native-Video onClick() prop

I am currently working on a react native app. I am using react-native-video: https://github.com/react-native-community/react-native-video I could not find something like an onClick() prop. What's the best way to implement a functionality for a click…
Toranksu
  • 65
  • 1
  • 7
1
vote
0 answers

how to play a base64 video in react-native

I am trying to play a base64 video in react native but I could not find any solution. Please help me to do this.
Rajat
  • 31
  • 2
  • 8
1
vote
1 answer

Show Timer while playing video using react-native-video

I have a requirement in my project to show timer when the video is playing. I know there are libraries available for this in React Native, but my requirement is to show the Timer below the video player. As the video progresses the time should…
Hanish Sharma
  • 869
  • 8
  • 23
1
vote
1 answer

react-native-video with dynamic url

I'm using fetch to call API for video URL. I have trouble with react-native-video.the video is not showing.
user9840214
1
vote
0 answers

How to stop a react-native-video on redirecting to another page

I have a welcome screen which plays a video in the background. When im redirected to another page i want this video to be stopped. For playing video i have used React-native-video.
Anamul Haque
  • 7,069
  • 5
  • 23
  • 38
0
votes
0 answers

react-native-video UI flicker on Android

Overview of problem I'm using react-native-video and on Android, when switching between an component and a
bzlight
  • 1,066
  • 4
  • 17
  • 43
0
votes
0 answers

Exoplayer E/BufferQueueProducer: [MediaCodec.release](id:1b20000006c,api:0,p:-1,c:434) detachBuffer: BufferQueue has no connected producer

I am using react-native-video. In list of videos randomly some errors related to buffer occur, here is android studio logcat: 2023-07-31 10:09:11.516 434-434/com.myprj E/ExoPlayer Exception: com.google.android.exoplayer2.ExoPlaybackException: Source…
0
votes
0 answers

react-native video cut in height when fixed to certain height like social media application

I am new to react-native, now use react-native-video and when use resize mode contain and fixed to certain height , video will not show in original size, for showing original size the height makes too long that nearly cover up my screen, what is the…
React_Coder
  • 353
  • 2
  • 12
0
votes
0 answers

Is there a way to stop loading video in react-native-video?

I am using react-native-video in a flatList, items are combination of images and videos like Instagram, so it's possible an item itself contains multiple video. I want to stop loading video if another video is playing. Is this possible? now I handle…
BeginnerProgrammer
  • 664
  • 3
  • 13
  • 27
0
votes
0 answers

React Native video do not start on lock scree

So, I have such problem, Im using react-native-video to play audios, I have a function onLessonEnd which fires onEnd and is changing source url to next audio, when screen is active it works fine (we go to next audio and it starts), but when screen…
AlmaG3st
  • 192
  • 9
0
votes
1 answer

"Ensuring Proper Display and Resizing of Videos and Images in React Native"

How can I ensure that videos and images are displayed properly in React Native, regardless of their orientation? Specifically, how can I make sure that landscape videos are displayed as portrait and that both images and videos are resized…
0
votes
0 answers

ERROR Error fetching video URL: [SyntaxError: JSON Parse error: Unexpected token: u]

I am working on React native App and am facing some issue in react-native-video doesn't have the feature to play a youtube video for that you have to use external libraries react-native-youtube so,now also facing some issue with them... My App…
0
votes
0 answers

react-native-video fit to my fixed width height of an item of a flatlist

I have a flatList that render video and photo of when i use resizemode to cover it cover the space but cut some portion of the video and if use resizemode to contain then it will not fit the screen width but fit the height,my used code of the video…
0
votes
0 answers

React native video not play video url from server in Ios

react-native-video not playing video from a server URL. I am facing this error in Ios. {"error": {"code": -11850, "domain": "AVFoundationErrorDomain", "localizedDescription": "Operation Stopped", "localizedFailureReason": "The server is not…