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

UI components: Customize previous / next #6926

Closed
wahdatkashmiri33 opened this issue Jan 29, 2020 · 1 comment
Closed

UI components: Customize previous / next #6926

wahdatkashmiri33 opened this issue Jan 29, 2020 · 1 comment

Comments

@wahdatkashmiri33
Copy link

In the Exo-Player video resumes from resumed position and i click on Previous control in Media Player then instead of directly playing previous video it seeks current video to 0 milliseconds and at that time when i click previous it goes to previous video.

What i want is if i am in the middle of video then on clicking on previous it should directly playing previous video instead of resetting current video to start position.

@ojw28 ojw28 self-assigned this Jan 30, 2020
@ojw28 ojw28 changed the title How to play previous video on clicking previous in Exoplayer instead of resetting to playbackposition to 0 of same video UI components: Allow customization of previous/next behavior Jan 30, 2020
@ojw28 ojw28 changed the title UI components: Allow customization of previous/next behavior UI components: Customize previous / next Jan 30, 2020
@ojw28 ojw28 assigned marcbaechinger and unassigned ojw28 Jan 30, 2020
kim-vde pushed a commit that referenced this issue Feb 11, 2020
@ojw28
Copy link
Contributor

ojw28 commented Jun 11, 2020

This is supported in dev-v2 by the ability to pass a custom ControlDispatcher into UI components, which can do something different than DefaultControlDispatcher which is what now contains the logic for seeking to the start of the current piece of media rather than the start of the previous one.

@ojw28 ojw28 closed this as completed Jun 11, 2020
@google google locked and limited conversation to collaborators Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants