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

[Bug] "Play next by default" ("continue") option is not being respected on playlists #4573

Open
douglascaetano opened this issue Apr 8, 2024 · 1 comment
Labels
bug Something isn't working module:playlists type:client-side The user interface of invidious

Comments

@douglascaetano
Copy link

douglascaetano commented Apr 8, 2024

Describe the bug
The option "Play next by default" (continue option in the PREFS cookie) is not being respected when playing videos from a playlist.

Steps to Reproduce

  1. Go to Preferences and turn off "Play next by default" and any other autoplay options;
  2. Go to a playlist (e.g. <invidious instance>/playlist?list=PLTCEzde-ifJUZ-vsBkMFJVZwevy4nuRnQ);
  3. Play a video;
  4. When the video ends, the next one in the playlist is loaded automatically.

Additional context
I'm running on macOS and using Safari.

After inspecting the code, it seems the problem lays here:

player.on('ended', function () {

This sets an event for when the video ends, whose action is to redirect to the next video unconditionally.

@douglascaetano douglascaetano added the bug Something isn't working label Apr 8, 2024
@SamantazFox SamantazFox added module:playlists type:client-side The user interface of invidious labels Apr 20, 2024
@SamantazFox
Copy link
Member

Likely related: #693

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:playlists type:client-side The user interface of invidious
Projects
None yet
Development

No branches or pull requests

2 participants