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

TypeError: undefined is not an object (evaluating '_MaterialIcons.default.propTypes.style')

import React, { useRef, useState } from 'react' import {Modal, Image, ScrollView, StatusBar, View, FlatList , Animated, Text, StyleSheet, TouchableOpacity, Dimensions} from 'react-native' import { AntDesign, MaterialIcons, Ionicons, Entypo,…
ChezB
  • 1
  • 1
0
votes
2 answers

How to pause and play video when display

I am trying to pause and play video using scrollView but i am unable to do that I wrote a code but it have some condition issue, can anybody please tell me what is wrong in my code, I want to play the video when it is visible and pause all other…
Bilal Yaqoob
  • 790
  • 1
  • 10
  • 22
0
votes
1 answer

Slow loading in react native video 5.2.0 (0.69 RN), What should I do?

I am new to React native Apps, And developed a basic news app which contains video posts, Everything was fine but videos are loading very slow. Video will be uploaded from app to the backend server, and posts will be displayed in flat list and…
0
votes
0 answers

onPlaybackRateChanged works in iOS but not android (react-native-video)

I'm wondering if anybody has found a workaround or a solution for this. I see issues in the repo that don't show anything, and I really would rather just have the hook call on android as well. Has anybody figured out how to make it work? Even the…
Joel Hager
  • 2,990
  • 3
  • 15
  • 44
0
votes
2 answers

Spotify Stops when I open my react native app

When I first open my app Spotify music stops after that when I go back and turn on the music and come back to the my app, it works fine. I am using react-native video library for Splash screen and video doesn't have audio and also muted by component…
0
votes
2 answers

How to display a thumbnail of a local video

Do you know a lib / a way to display a thumbnail of a local video ? I select a video from my device with react-native-image-picker and i would like to display a thumbnail of this video in a View or flatlist in case of several selections
l4rnaud
  • 179
  • 9
0
votes
1 answer

OnBuffer event is not calling in react-native-video player

I am using react-native-video library. I have added following line in android/settings.gradle to use exoplayer as mentioned in its docs. include ':react-native-video' project(':react-native-video').projectDir = new File(rootProject.projectDir,…
Piyush
  • 3,015
  • 3
  • 18
  • 31
0
votes
1 answer

Execution failed for task ':app:mergeDebugAssets'. React Native

when I install react-native-video in my react native app, my app shows an error. and I get the following error: What went wrong: Execution failed for task ':app:mergeDebugAssets'. Could not resolve all files for configuration…
Ammar Baloch
  • 35
  • 1
  • 3
0
votes
1 answer

How to add video in react-native with any format

I am using react-native-video library, but it only supports one format. just appearing black screen on adding other formats
0
votes
1 answer

Appearing green border around video

I am using react-native-video in my app for videos. Most of the videos are working as expected. But for some videos, a green border is appearing around the video.I don't know from where it is coming. Can someone please help me with this? Please…
0
votes
0 answers

How to play HD video in react-native-video smoothly in android?

We are developing mobile app in react native, and we have used react-native-video library to play video in app. There is no problem in any device when I play video which is uploaded by mobile, or small size of video. When I play hd video or…
Pankaj Sonava
  • 519
  • 4
  • 20
0
votes
1 answer

React Native Video selectedVideoTrack prop not working in android phones

selectedVideoTrack prop not working in android phone. Here is the Video componenet
0
votes
1 answer

Android react-native-video doesn't playback in m3u8 video

My problem is I can't playback m3u8 fragmented video through react-native-video. But another test m3u8 from different resources does work. I have thought my transcoded CMAF m3u8 is corrupted and by that reason doesn't work but it work on ios…
0
votes
1 answer

React native video reset on open a modal

const videoPlayer = () => { return (
Rambler
  • 267
  • 1
  • 12