react-native-vlc-media-player
react-native-vlc-media-player copied to clipboard
The prop 'paused' not working.
Hi. The prop 'paused' does not working. The video always plays automatically and cannot be paused and resumed. "react-native": "0.63.3" "react-native-vlc-media-player": "^1.0.28"
Hope you will fix it in next release https://github.com/razorRun/react-native-vlc-media-player/issues/36#issuecomment-718525349 if this issue is related to version "0.63.3".
Hi @shockwave13, can you show a snippet of your VLCPlayer component and its props?
Hi guys, I'm working on a project that is using this package to stream videos.
I'm trying to pause=true the video, but it isn't working and video live stream not show. Thanks
react-native@^0.63.43 react-native-vlc-media-player@^1.0.29
const [paused, setPaused] = useState(true);
<VLCPlayer
paused={paused}
onBuffering={onBuffer}
autoAspectRatio={true}
videoAspectRatio="21:9"
source={{ uri: 'rtsp://admin:hd111111@1111:111:1111/Streaming/Chanal/' }}
style={[styles.player]}
/>
up
still no fix for this ?