Skip to content

Suggestions #1

@decryptedchaos

Description

@decryptedchaos

This is a useful bit of code, I explored the code while I was looking for an audio player implementation.

I would share with you two things that I found that could use improvement.

the songIndex array does not appear to work when there is only one song in the array the way I was able to work around this is to declare the same song twice, however, it would be nice if there was a less hacky way to get it to only process one song.

the URL source for the mp3 file is in clear text, making it too easy to steal the content, it would be very nice if the javascript handled obfuscated filenames or random keys that pointed to the mp3 file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions