This update refines the play method to address a malfunction in the video player. Previously, if a user initiated video playback, terminated the player, and then attempted to replay the video, the player would not operate as expected.
Focused on rectifying the playback resumption issue for the player on Android devices. This fix ensures a seamless user experience by enabling the video to resume from the point where it was paused, even after the player has been closed.
NB: If the user navigates back to the Farm activity window, the current pause time is reset, and playback starts from the beginning. However, we could potentially use local storage, which is supported on both desktop and mobile platforms, to track the playback times for different videos. This would allow us to resume playback from the last paused position even though the user closed the app.
Discussion
This Pull Request is aimed at addressing Issue closes #219.
Description
NB: If the user navigates back to the Farm activity window, the current pause time is reset, and playback starts from the beginning. However, we could potentially use local storage, which is supported on both desktop and mobile platforms, to track the playback times for different videos. This would allow us to resume playback from the last paused position even though the user closed the app.
Discussion
Screenshots / Videos
https://github.com/e-picsa/picsa-apps/assets/97807374/fb63f335-9ac0-42e1-835b-146f8c45e9c2