birdwingo / react-native-instagram-stories

🚀 Instagram stories is a versatile React Native component designed to display a horizontal scrollable list of user stories, similar to the stories feature found in the Instagram app.
https://birdwingo.com
MIT License
120 stars 34 forks source link

Video player in story item not working #68

Closed bilal1031 closed 3 months ago

bilal1031 commented 4 months ago

There seems to be an issue when trying to add a video story, it just shows a loader and freezes after some time.

Here is some information about what I was using and what I learned after testing.

  1. The video is 7 seconds long and is hosted on a cloud and it is a mp4 codec video.
  2. On Android Emulators it works sometimes, but sometimes it does not.
  3. On a physical device it does not work correctly

I have attached a video to better show what it is exactly doing.

https://github.com/birdwingo/react-native-instagram-stories/assets/56048741/8c4fc9a1-d8ff-49bc-8429-f72a881dfad0

Ibrahim-Arif commented 4 months ago

There seems to be an issue when trying to add a video story, it just shows a loader and freezes after some time.

Here is some information about what I was using and what I learned after testing.

  1. The video is 7 seconds long and is hosted on a cloud and it is a mp4 codec video.

  2. On Android Emulators it works sometimes, but sometimes it does not.

  3. On a physical device it does not work correctly

I have attached a video to better show what it is exactly doing.

https://github.com/birdwingo/react-native-instagram-stories/assets/56048741/8c4fc9a1-d8ff-49bc-8429-f72a881dfad0

Same

LukasFridmansky commented 3 months ago

Hey, make sure that you have installed react-native-video package.