itsnubix/react-native-video-controls

Starting on video shows exit full screen button instead full screen button & video doesn't plays on ios

pawani-K opened this issue · 0 comments

i Tried with call backs 1st it shows exit full screen button onclick shows full screen button then if i click full screen it shows full video......
But starting it should show full screen button.../////Any HELP!!!!!!!
And Video doesnt plays in IOS "it shows video unavailable" with error {code:11828, "this media format is not supported"}
https://user-images.githubusercontent.com/118712751/215453504-a3ada4eb-7aa9-4ba1-bfe0-c05513aa7fb8.png
<VideoPlayer
source={{ uri: videoUrl }}
seekColor="white"
disableVolume={true}
disableBack={true}
showOnStart={true}
fullScreen={isFullScreenMode}
resizeMode={'cover'}
ignoreSilentSwitch="ignore"
fullscreenOrientation="landscape"
// toggleResizeModeOnFullscreen={false}
onEnterFullscreen={() => setIsFullScreenMode(true)}
onExitFullscreen={() => setIsFullScreenMode(false)}
videoStyle={{ backgroundColor: "#f8f8ff" }}

/>

Originally posted by @pawani-K in #116 (comment)