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

Video play using DRM

I need a functionality to save videos offline and protect video-content. So that content will be encrypt and will play in my app only. I am using HLS streaming. So i am planning to use react-native-video
0
votes
2 answers

React-Native-Video controls working in iOS but not android? (Laggy state?)

I have a React Native project ver .66.4 with React-native-video 5.2.0 and React-native-video-controls 2.8.1 I have a VideoPlayer component that has custom controls built into the ref. This component works perfectly in iOS, but it doesn't work on…
Joel Hager
  • 2,990
  • 3
  • 15
  • 44
0
votes
1 answer

On react-native-video, how can I manually adjust the video quality across all platforms?

I'm creating a react-native app that uses react-native-video to stream video. I want users to be able to manually modify the video quality. I haven't been able to figure out how to accomplish it up until now. Please give your suggestions on how to…
Leul Ayalew
  • 113
  • 2
  • 10
0
votes
1 answer

Process download file before save

import RNBackgroundDownloader from 'react-native-background-downloader'; let task = RNBackgroundDownloader.download({ id: 'file123', url: 'https://link-to-very.large/file.zip' destination:…
Rambler
  • 267
  • 1
  • 12
0
votes
1 answer

How to reset controlTimeout in react-native-video ref

I have a Video component that uses react-native-video-controls and everything works great except for one thing: The custom buttons I use to skip/seek and play/pause don't reset the controlTimeout value (the delay between last interaction and the…
Joel Hager
  • 2,990
  • 3
  • 15
  • 44
0
votes
2 answers

Prevent the reading of video react native

I am currently developing an application that enables the user to view sports videos and I would like to implement the following feature : The user is presented with a list of videos but can only see the next ones if he first views the first ones.…
Hadrien Jaubert
  • 154
  • 1
  • 3
  • 11
0
votes
0 answers

Can i use duplicate webview in one stack screen?

In my a stack screen, I have used two library of webview system. The one is 'react-native-video', other is 'react-native-youtube-iframe'. The problem is that each library conflicts. When the crash occurred, there were no error messages. When…
rudenick
  • 154
  • 1
  • 1
  • 10
0
votes
2 answers

When a video had stopped, other video stopped simultaneously in react native video

I have developed react-native cli, react-native-video (Currently, tried to expo-video). In a screen, there are one flatList, it has a renderItem(column2). In a renderItem renders image or video thumbnail. Like shopping app UI AMAZON. The problem is…
rudenick
  • 154
  • 1
  • 1
  • 10
0
votes
0 answers

We cannot make react-native-video player to play a video from a API file service

Postman or android devices play it nicely, but on iOS platform we are facing the problem. Basically, a user logs in the application and makes a call to API service which returns the mp4 video.Postman header info is also attached. Any help is…
0
votes
0 answers

How to use an absolute path for a local video on the device when using react-native-video?

I'm developing an App that should automatically play a video stored on a specific path of the device (currently, i'm trying to access the DCIM folder) without any user interaction needed. The react-native-video documentation states that I can do…
0
votes
0 answers

React-native-video: Detect if module is running in Swift and change orientation

I'm using different native SDK's in my react-native app, and I'm controlling the device orientation based on what module is loaded. In my AppDelegate.swift I have the following var orientationLock = UIInterfaceOrientationMask.all func…
UnknownFrequency
  • 413
  • 3
  • 18
0
votes
1 answer

React Native Camera is able to capture images but is NOT recording video

I am trying to use react-native-camera package to create an app to take pictures and record videos. I took the example code and converted it to functional component, since its necessary for my app. I am able to take pictures and store in local…
0
votes
1 answer

How can I get the link to be loaded before the component is rendered?

I'm using react-native-ytdl and react-native-video I get youtube play link from "react-native-ytdl" and I play from "react-native-video" but "react-native-ytdl' is using async When the component is loaded, the first testvalue comes out as…
0
votes
0 answers

How can I set React Native Video to send or not send credentials, i.e. cookies, on each petition?

I need to avoid sending cookies from my react native video implementation, but can't change the credentials behavior: import Video from 'react-native-video'; ... const App = () => { ... return (
0
votes
0 answers

react-native-video with remote url play after download entire video file

The larger the remote url file size, the significantly longer the loading time before playback. like html5 video tag, I want it to be played immediately with downloaded part.(streaming) Any possible solutions?