on-internet
← Community

React-Native-Video how to pause the video when video not in full screen or off the screen

Stack Overflow ·

i am making a Android video gallery app like YouTube using React-Native for that i am using 'react-native-video' , package While using it i had a problem with video auto-play option all videos are playing at a time in the background without viewing the videos and another problem is all videos controls={true} are showing when scrolling the video and they are not moving along with videos.I am doing all this inside FlatList My code : import React, { Component, PropTypes } from "react"; import { AppRegistry, Image, Platform, StyleSheet, Text, View, TextInput, Button, TouchableHighlight, Alert, Tou

Comments

Sign in or sign up to comment and upvote.

No comments yet.