Skip to content
Snippets Groups Projects

MediaCollectionViewCell: Highlight and animate the current playing media cell

Merged Diogo Simao Marques requested to merge diogo.simao-marques/vlc-ios:highlight-track into master

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.
Screenshots
Animation screen recording Simulator_Screen_Recording_-iPhone_14_Plus-_2022-10-14_at_17.44.35

Closes #931 (closed)

Edited by Diogo Simao Marques

Merge request reports

Merge request pipeline #272753 passed

Merge request pipeline passed for 0ff0d622

Merged by Felix Paul KühneFelix Paul Kühne 2 years ago (Oct 14, 2022 9:28pm UTC)

Loading

Pipeline #272819 passed

Pipeline passed for 0ff0d622 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading