Skip to content

Clicking next too quickly causes player control lockup #419

@cclark-00

Description

@cclark-00

Issue description

Clicking 'next song' button too rapidly causes JS error getFloat in bufferedProgressElements.js parseFloat call due to config.buffered being NaN.

Environment

Windows 10 home

  • What's My Browser Support link: Firefox 75
  • Amplitude.js Version: 5.0.3

Steps to reproduce the issue

  1. Click next song rapidly. Not reliably reproducible. Could be due to a large (90+) playlist, or using Amplitude.init callbacks; it only started showing up after those two additions to my JS code.

What is expected?

Link to where issue can be reproduced

Additional details / screenshots

Sample fix is in my fork. I tested config.buffered for NaN before running getFloat in 3 places.

Metadata

Metadata

Assignees

Labels

Bug: Needs Confirmation 🧐Bugs that are reported, but needs to be confirmed and replicated.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions