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

TypeError: Cannot set property 'currentTime' of null #123

Closed
chaos87 opened this issue Jul 1, 2020 · 1 comment
Closed

TypeError: Cannot set property 'currentTime' of null #123

chaos87 opened this issue Jul 1, 2020 · 1 comment

Comments

@chaos87
Copy link

chaos87 commented Jul 1, 2020

Hi, thanks a lot for this library!

Version

4.15.3

Description

Exception is thrown and screen turns blank when deleting last song in playlist (if song is playing).

Steps to Reproduce

Can reproduce using demo https://www.lijinke.cn/react-music-player/
Start playing one of the playlist then open the playlist and click the cross icon next to each song to remove them one by one.

Expected Behavior

Same as clearing playlist (trash icon)

Current Behavior

Blank screen and sends exception

@lijinke666 lijinke666 added the bug label Jul 1, 2020
github-actions bot pushed a commit that referenced this issue Jul 2, 2020
…0-07-02)

### Bug Fixes

* remove last playing audio throw error [#123](#123) ([355f2e1](355f2e1))
@lijinke666
Copy link
Owner

fixed.

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

No branches or pull requests

2 participants