MediaCollectionViewCell: Highlight and animate the current playing media cell
This merge request introduces:
- A highlight to the current playing media cell's title
- A playing now animation triggered when the media is currently being played
- A pause animation when the currently playing media is paused.
This is visible in the Audio part but also in the play queue linked to both players.
This feature is available on devices running on iOS 13.0 and above to avoid overloading the old devices.
Somes changes have also been made to:
- The currentlyPlayingMedia variable that can now take the nil value increasing the code stability when checking its value before being initialized.
- The QueueViewController's delegate that is now corretly set whether the AudioMiniPlayer of the VideoPlayer is shown. This also allows us to update the collection view properly when the playback state is updated directly in the play queue.
Animation screen recording
Simulator_Screen_Recording_-iPhone_14_Plus-_2022-10-14_at_17.44.35Closes #931 (closed)
Edited by Diogo Simao Marques