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

how to play local bundle path url in ios

Open AshishMall opened this issue 3 years ago • 1 comments

if I play a video from my local bundle path of a video , its not plat its show me a loader and after some time its hide ,

==== Now my question is how to play local path URL in ios

here is my code

<VlCPlayerView autoplay={false} url={${RNFS.MainBundlePath}/video.mp4)} Orientation={Orientation} ggUrl={${RNFS.MainBundlePath}/video.mp4)} showGG={true} showTitle={true} title="Big Buck Bunny" showBack={true} onLeftPress={() => {}} onError={(error) => {console.log(error)}} />

AshishMall avatar Dec 16 '21 08:12 AshishMall

Write full path as string something like that "/storage/sdcard/Download/video1.mp4"

atteia avatar Mar 03 '22 08:03 atteia