react-insta-stories icon indicating copy to clipboard operation
react-insta-stories copied to clipboard

Preload video link

Open Loise opened this issue 6 years ago • 8 comments

Thanks for your awesome package.

Maybe the video player would be improve by a preload ?

When you load a video for the first time, the spinner of the loader is displayed, until the end of the duration.

If I go back to the previous story, and return to the next story, the video is loaded and correctly displayed.

I can reproduce this issue on my mobile with your sample video: https://storage.googleapis.com/coverr-main/mp4/Footboys.mp4 at each time.

Best regards, Loïse

Loise avatar Jun 27 '19 09:06 Loise

@mohitk05, I'm also facing a similar issue, any update on this one Please?

sdei-lovepreet avatar Oct 17 '19 12:10 sdei-lovepreet

@Loise @sdei-lovepreet This is mostly because a DOMException error while playing the video, it might be visible in you consoles, if you check. I'll add better error handling here which either tries to replay the video or skips to next story. Mostly will include this in minor updates after v2.

mohitk05 avatar Oct 17 '19 18:10 mohitk05

@mohitk05 , thanks for the update, can you please let us know when will be this new version available?

sdei-lovepreet avatar Oct 18 '19 03:10 sdei-lovepreet

Hi @mohitk05 , Thanks for your awesome work :) . I am eagerly waiting for your Video Preload Feature!!! Any timeline for this? Thanks Swayam

swayam2k15 avatar Oct 21 '19 12:10 swayam2k15

V2 will be out by October end, and this feature will mostly be added in a week after that.

mohitk05 avatar Oct 23 '19 12:10 mohitk05

@mohitk05 , Hi how are you? Can you please kindly let us know when the next release is supposed to be released.

sdei-lovepreet avatar Nov 05 '19 04:11 sdei-lovepreet

@sdei-lovepreet v2 is now available!

mohitk05 avatar Nov 10 '19 06:11 mohitk05

Thanks, @mohitk05, for this wonderful update. can you please provide a readme guide to how to use the new props for playing, next, previous and pause stories

sdei-lovepreet avatar Nov 13 '19 06:11 sdei-lovepreet