Questions tagged [react-native-video]

React Native video component

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

338 questions
0
votes
1 answer

How to Display Video with React native

Im trying to display video on react native application, but when I run the application I have the error TypeError: undefined is not an object (evaluating 'RCTVideoInstance.Constants') I ran these commands but it doesnot work : npm install…
user123456
  • 171
  • 11
0
votes
2 answers

how to play local mp4 video in react native

Here In my code I am trying to play video from my local . I have stored one mp4 video in my code file. I have imported it where I have to play it . I am passing correct value but video is not coming on screen . Only on blank screen is coming…
0
votes
1 answer

Customize X control on react-native-video

Is there any possibility to customise the event on X for react-native-video? To summarise my problem i have an app when on press play it will trigger a modal with a fullscreen video and starts to play automatically, this is the behavior i was…
0
votes
1 answer

How to play encrypted video in react native offline?

I have video in my local file of android and these are encrypted using AEC algorithm. Is there any straight forward way to play that video in react-native-video ? I tried converting it into base64 and decrypting it slice by slice but…
0
votes
1 answer

react-native-video mutes the microphone

When a video is played during a webRTC call it causes the local stream to go mute without muting the track (audio track still has the enabled prop set to true). It does not happen when the 'muted' prop of the Video component is set to true or when…
0
votes
0 answers

Video component of react-native-video is requesting twice for the same uri

I'm using the Video component of react-native-video. I'm getting an external video using http (not https). The video is obtained and played correctly. But I noticed that the component makes two request for the same video. Why is that? PS: I've used…
0
votes
1 answer

How can I access my videos from internal storage with react native video?

I am trying to make a simple video player using react native where, when the app is initialized it will fetch the playlist from a server, automatically download them and then play from local storage. I am not sure if i need to store the playlist in…
0
votes
1 answer

How to get the data of video in react-native

How to get the video details using document.getElementById, is it possible in react-native. Cna we use refs here i'm new to react native please help me thanks in advance const videoDetails = document.getElementByid("video")
Mohan
  • 375
  • 1
  • 9
0
votes
1 answer

how to install react-native-video on windows app?

for a certain windows app I am trying to install the react-native-video package on the solution project. I found the following procedure : the image taken from the link : https://www.npmjs.com/package/react-native-video but at the step " Add…
0
votes
2 answers

React Native: play video error Component Exception

import { SafeAreaView, ScrollView, StyleSheet, View, Text } from 'react-native'; import React from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; import {…
0
votes
1 answer

react native video fullscreen controll

I use in my app react-native-video.It works well but on android I don't have the fullscreen control. Do I have to make a custom control or did I forget something? There is my code for my player :
0
votes
0 answers

Placing a react-native-video inside FlatList then pressing a button to go full screen

Say I have a react native app with a FlatList. Inside the FlatList is a react-native-video component. The video is hosted online. Inside the FlatList the video can be played. What I want is also a button that can be pressed and the video should go…
0
votes
1 answer

react native video player not set in fullscreen when i set it in landscape

I have used react native video player in my app. i wanted to set video on full screen but crop from both side. I have used 'window' height and width width: Dimensions.get('window').width height: Dimensions.get('window').height But its not working…
0
votes
0 answers

App launch issue in React native track player

I am using this package react-native-track-player - link This 3rd party package is working entirely fine except app launch issue. First time the app is launch and can do other stuff and play audio. Then we kill the app and again try to launch the…
0
votes
2 answers

React Native playing iOS Slo-mo videos

I'm using react-native-image-crop-picker (v0.34.1) to select a slo-mo video from an iPhone. After selecting the video, I am playing the video using react-native-video (v5.0.2). The slo-mo effects of the video are not reflected in the playback of the…