drawRect / Instagram_Stories

Inspired by Instagram Stories functionality. This source is similar to Instagram Stories, which is having both image and video support.
MIT License
414 stars 76 forks source link

Pause story when app goes to background and resume in foreground mode #124

Open Shariif-Islam opened 3 years ago

Shariif-Islam commented 3 years ago

I appreciate this wonderful work, it helps me a lot to build similar things. I requesting an improvement relate to Instagram behaviour that is, during playing a video story if app goes to background mode video paused and in foreground mode video resume from where it paused. Also if story in paused state and back from background to foreground mode story remain paused. Same for image story.

Currently in your app, if goes background and back to foreground mode story restart from beginning. This functionality works fine no issue in it. Here you can improve this project with Instagram actual behaviour, not restart video and image story in foreground mode. As this project is based on Instagram stories, this improvement will make it more perfect.

boominadhaprakash commented 3 years ago

Hi @Shariif-Islam

We understood the requirement what you have mentioned. But currently we are unable to concentrate on any improvements for this repository due to our office project work. If you have time, you can try this implementation and give us pull request. We are not sure when we will get time to work on this.

Harishreddy122 commented 1 year ago

Hi @Shariif-Islam & @boominadhaprakash

Did you find any solution for this issue. If you have this will be very helpful to me as am also having the same requirement.