Toggle tab video playback
When I put a video component in one of the views and then switching the tab causes the video to replay and I don't expect that behavior to happen if ios continues to play and android doesn't `import React, {useState} from 'react'; import {StyleSheet, View, Text} from 'react-native'; import PagerView from 'react-native-pager-view'; import {Video} from '../components'; const _pagerViewTest = () => { return ( <PagerView initialPage={0} style={{ flex: 1, }}> <View key="1"> <Text>First page</Text> <Video file={'action/glute-bridge.mp4'}></Video> </View> <View key="2"> <Text>Second page</Text> </View> </PagerView> ); };
export {_pagerViewTest}; `
"react": "18.2.0", "react-native": "0.72.12", "react-native-pager-view": "6.3.1",
Please reproduce it with an expo-snack or example app.