MediaCategoryViewController: Continue Watching Last Media Button
This MR introduces a new small feature to enhance the user experience when resuming playback of video media content. The feature includes the addition of a fixed button, improving accessibility, and simplifying the process for users.
Button Logic
- If the user has a viewing history, the button plays the last watched media using the history model.
- In cases where the history is empty or cleared, the button plays the first media of the media group, whether it's a single or a collection.
Button Visibility Management
The button is visible only when users are on the media group tab or viewing media group collections, ensuring its presence in relevant contexts. Hidden when the mini-player is active and visible, maintaining a clean interface during playback.
Why We Need It
Simplifies the playback process by offering a quick, seamless way to resume the last watched media, reducing navigation steps.