react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

The prop 'paused' not working.

Open shockwave13 opened this issue 4 years ago • 4 comments

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

shockwave13 avatar Nov 04 '20 08:11 shockwave13

Hi @shockwave13, can you show a snippet of your VLCPlayer component and its props?

GarliqBread avatar Jan 08 '21 02:01 GarliqBread

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]}
/>

gotedkid195 avatar Mar 31 '21 07:03 gotedkid195

up

rafaelgilead avatar May 08 '23 16:05 rafaelgilead

still no fix for this ?

xmspix avatar Aug 12 '23 11:08 xmspix