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…
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 =…
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…
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…
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…
Here is my code around this element
class Menu extends Component {
...
audioFile = null
componentWillMount(){
this.audioFile = require('../../assets/audio/subtle.mp3');
}
}
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…
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…
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…
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…
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…
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":…