Questions tagged [react-native-video]

React Native video component

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

338 questions
3
votes
2 answers

How to fix import error : 'requireNativeComponent' from 'react-native-web'

I am starter at React-native and I want to show a video on my app. I am using react-native-video now. import React from 'react'; import { StyleSheet, Text, View, requireNativeComponent } from 'react-native'; import Video from…
liming
  • 232
  • 2
  • 4
  • 18
3
votes
0 answers

React native video from local file

I am using react-native-video (v 5.0.2) and try to play file from local. It's working in Android but not working in iOS. I created the file that I want to play with react-native-fs. This is my code: Write file: const localFilePath =…
3
votes
0 answers

How to show timeline (progress bar) while rendering a video in react native?

I am trying to show a progress bar, just like in any video. Start -------O------------------ END I am using React Native Video to embed video content into my app. So far I came up with the following method: This library comes with a method to know…
GRS
  • 2,807
  • 4
  • 34
  • 72
3
votes
4 answers

Unexpected behaviour using seek in react-native-video

In react-native-video, whenever I click on the (custom) progress bar on a value less than 50% (half of it), the video jumps to start instead of seeking to the right time. When I click above 50%, it goes to 50%. It's not actually 50, more like 55-60…
skypower
  • 161
  • 4
  • 18
3
votes
5 answers

How to fix 'Video play but don't have sound on iOS with expo'

I use video component from expo. I can play video, but it doesn't sound in iOS. In Android it's okay. How can I fix it.
3
votes
1 answer

SPTPersistentCache - Video caching by unique ID

In my React Native application I am using React Native Video. Currently, the library offers caching (using SPTPersistentCache and DVAssetLoaderDelegate). The caching currently implemented is by the asset's URL. Or in other words, if I watch a video…
EDJ
  • 843
  • 3
  • 17
  • 37
3
votes
1 answer

React-Native

I'm using a Video component like this:
Daniel Dudek
  • 515
  • 7
  • 17
3
votes
2 answers

'uri.match' is undefined trying to require audio file into video source

Here is my code around this
3
votes
0 answers

React Native Video Subtitle Position

Lakshin Karunaratne
  • 446
  • 1
  • 6
  • 19
3
votes
1 answer

React Native Black Screen for a second between loading and video playback using react-native-video (Android)

There is always around 2 seconds of black screen when moving from onLoad which stop my loading spinner component and the start of the video playback in my code below. I am using ExoPlayer. Any idea what i am doing wrong, or how can i improve my code…
Solly
  • 496
  • 1
  • 6
  • 14
3
votes
0 answers

React-native-video not working for android

I'm trying to play videos on my react-native project for android. Installed react-native-video && react-native link I can't play local storage and online videos. problem Sometimes audio only coming with the white screen. sometimes video is…
user9840214
2
votes
0 answers

Can React Native Track Player be used alongside React Native Video for displaying music notifications and controls?

i am using react-native-music-control for displaying music notification but because of "no longer maintained" some functionality are not working like seek bar not working etc., if anyone have code sample or any example for displaying music…
2
votes
0 answers

Is it possible to use react-native-track-player together with react-native-video to show title and thumbnail on lockscreen?

We use react-native-video for a video application, the problem is when you lock screen during watching video, you get empty grey areas, we want to see video title and thumbnail there, I have tried using react-native-track-player for title and…
2
votes
0 answers

2 different refs of the same component with each other react native video

I have a project that I developed with react native and in which I use the react-native-video library. We use the same video component in 2 different navigation(i mean screen). (I'll abbreviate these as A and B videos) Our problem is that when video…
errorau
  • 2,121
  • 1
  • 14
  • 38
2
votes
1 answer

react-native-video ^6.0.0-alpha.3 "errorCode": "24001" in some mkv videos

I am developing an app capable of playing an IPTV list. All the contents go with the mkv format and most of them play correctly but some return the following error: { "error": Object { "errorCode": "24001", "errorException":…