react-native-pager-view icon indicating copy to clipboard operation
react-native-pager-view copied to clipboard

Toggle tab video playback

Open Kstonelc opened this issue 1 year ago • 1 comments

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",

Kstonelc avatar Apr 25 '24 02:04 Kstonelc

Please reproduce it with an expo-snack or example app.

MrRefactor avatar Jun 26 '24 08:06 MrRefactor