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] Issues when last item in playlist is inaccessible #680

Open
3 tasks
elynema opened this issue Oct 23, 2024 · 0 comments
Open
3 tasks

[BUG] Issues when last item in playlist is inaccessible #680

elynema opened this issue Oct 23, 2024 · 0 comments

Comments

@elynema
Copy link

elynema commented Oct 23, 2024

Describe the bug
When the last item in a playlist is inaccessible, we are seeing several issues:

  • If you click next to the last inaccessible item while the previous item is playing, the audio from the previous item continues to play even though the player shows the inaccessible item message.
  • When you hit the previous button from the last inaccessible item, it sometimes does not return to the previous item

These issues were observed in both Chrome and Safari on desktop.

To Reproduce
Steps to reproduce the behavior:

  1. Load one of these playlists as an unathenticated user: https://avalon-dev.dlib.indiana.edu/playlists/96 or https://avalon-dev.dlib.indiana.edu/playlists/178
  2. Select the item before the last inaccessible item and play it.
  3. Either hit the next canvas button in the media player or select the last inaccessible item in the list of items
  4. The error will show in the media player, but the audio from the previous item continues to play.
  5. Select the item before the last inaccessible item and begin playback if not playing.
  6. Pause playback.
  7. The playlist will skip to the last inaccessible item after a few seconds, playing the soundtrack to the previous item.
  8. If you hit previous, the playlist will not return to the previous item.
  9. At this point, the playlist is pretty messed up and if you click on another playlist item, it will quickly advance through the entire playlist.

Expected behavior

  • When I advance to an inaccessible item, including the last item in a playlist, the audio from the previous item should stop playing
  • Pausing playback on an item immediately preceding an inaccessible item should not cause the playlist to skip to the next playlist item.
  • Should be tested to work properly on Safari iPhone and Android Chrome, as well as Chrome / Safari on desktop.

Screenshots
Note: you can't hear the audio here, but when I click the next canvas button to get to the last playlist item (inaccessible), the audio from the prior item continues to play.

Screen.Recording.2024-10-23.at.5.15.04.PM.mov

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version 129.0.6668.101

Not tested yet on smartphone

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant