'Getting error in react-native-gifted-chat video component, video is not visible in chat. how i implement my own render message video prop

After sending video in chat getting this type of error

enter image description here

In this am rendering video messsage from device after that uploading video in firebase storage getting download url of video.

renderActions={(props) => {
  return(
    <>
    <Actions
      {...props}
      containerStyle={{
        bottom: 10,
      }}
      onPressActionButton={handleVideoPicker}
      
      icon={() => {
        return(
          <>
          <Ionicons name="videocam-outline" size={30} style={{color: 'black'}} />
          </>
        )
      }}
    />
    </>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source