-
Notifications
You must be signed in to change notification settings - Fork 468
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
PlayerView and Playercontrollview Next button not clickable even when using ForwardingPlayer for the Last mediaitem of Playlist #1588
Comments
Hi @pawaom, Thanks for reporting! I think the referred approach only works for player UI (google/ExoPlayer#9971) and the legacy For the player UI case, the For the legacy controller case (media notification is using the legacy controller to control the session), the legacy However, for media3 I'll discuss internally to see if we already have some approach somewhere to workaround this problem or we need to add one. Will update this issue next week. |
Hi @pawaom, I spoke with the team today, and it seems that we already had the similar issue reported before, which caused by the inconsistency in the custom In fact, we have a If your problem is just about letting the next button show for the last item and the player play the first item, then you can probably set the repeat mode to Hope the above can help! |
I know about the I copied the |
@pawaom This is because there were some additional changes to the |
any idea when the alpha or beta version of media3 1.5.0 will be released and will the above changes be included in those alpha and beta releases, if its within a few days I will wait. |
|
Version
Media3 1.4.0
More version details
No response
Devices that reproduce the issue
Samsung Galaxy Tab 7 android version 14
Pixel 2 emulator api 26 Android 8.0.0
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Add a Playercontrolview in activity_player.xml
custom_exo_controller_view.xml
in initializeSessionAndPlayer() in DemoPlaybackService
add the following code
in setController() in PlayerActivity add the code
I have referred this
here is a demo video
VideoCook_20240802_112417680.mp4
Expected result
The next button should work even for the Last MediaItem with forwardingplayer, in the playerview and playercontrolview like it does in the notification
Actual result
The next button does not work even for the Last MediaItem with forwardingplayer, in the playerview and playercontrolview like it does in the notification
Media
Jazz and Blues or any other album or list of mediaitems
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.The text was updated successfully, but these errors were encountered: