Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument to set Player.getMaxSeekToPreviousPosition when creating a PillarboxExoPlayer #659

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

MGaetan89
Copy link
Member

@MGaetan89 MGaetan89 commented Jul 29, 2024

Pull request

Description

This PR adds a new maxSeekToPreviousPosition argument to the constructors of PillarboxExoPlayer and DefaultPillarbox, allowing the integrator to configure the delay until which seeking back goes to the beginning of the media.

Changes made

  • Self-explanatory.

Checklist

  • Your branch has been rebased onto the main branch.
  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).
  • All pull request status checks pass.

@MGaetan89 MGaetan89 linked an issue Jul 29, 2024 that may be closed by this pull request
2 tasks
Copy link

github-actions bot commented Jul 29, 2024

Code Coverage

Overall Project 48.96% -0.02% 🟢
Files changed 87.8% 🟢

Module Coverage
:pillarbox-core-business 82.54% -0.07% 🟢
:pillarbox-player 50.85% -0.01% 🟢
Files
Module File Coverage
:pillarbox-core-business DefaultPillarbox.kt 50.88% -3.51% 🟢
:pillarbox-player PillarboxExoPlayer.kt 84.25% -0.11% 🟢

@StaehliJ
Copy link
Contributor

When we merge the demo settings we could maybe add this into the settings.

@MGaetan89 MGaetan89 added this pull request to the merge queue Jul 30, 2024
Merged via the queue into main with commit 8e65327 Jul 30, 2024
10 checks passed
@MGaetan89 MGaetan89 deleted the 558-getmaxduration branch July 30, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

GetMaxDuration
2 participants