This PR adds a duration label on chapter cells displayed in our chapter-supporting demo player. It also improves how the current chapter is displayed on iOS 17 and above.
Duration
Cell highlight (iOS 17)
Changes made
Add duration label.
Add scale effect to the current chapter on iOS 17. This effect is only possible on iOS 17 since there is no API to disable scroll view clipping on earlier versions.
Some modifiers are meaningful only for iOS 17. I marked them explicitly with a common naming style. There is likely a more generic approach but for the moment I chose to keep things simple.
Checklist
[x] APIs have been properly documented (if relevant).
[x] The documentation has been updated (if relevant).
[x] New unit tests have been written (if relevant).
Description
This PR adds a duration label on chapter cells displayed in our chapter-supporting demo player. It also improves how the current chapter is displayed on iOS 17 and above.
Changes made
Some modifiers are meaningful only for iOS 17. I marked them explicitly with a common naming style. There is likely a more generic approach but for the moment I chose to keep things simple.
Checklist