-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Can't initialize Amplitude with playlists only #440
Comments
Hey @Sun0fABeach, thanks for the detailed bug report. Dan made a few bug fixes in v5.1.0. Can you let us know if you are still having the issue in the latest version? |
Hi.
Looks like someone explicitly decided to check for the |
After the merger and release of v5.3.0, we re-opened this and need to revisit how to initialize AmplitudeJS without a playlist. This was fixed in v5.2., but due to a host of other issues, we had to rebase and move forward. I'll explore options to make sure this works without issue. |
Issue description
Amplitude doesn't properly initialize if I provide a playlist config containing all the songs, and leave out the songs array.
Environment
Steps to reproduce the issue
songs
array:class="amplitude-play-pause" data-amplitude-song-index="0" data-amplitude-playlist="emancipator"
What is expected?
The song is played.
Additional details / screenshots
I can make it work by providing a dummy element for
songs
like so:Now the song can be played.
The text was updated successfully, but these errors were encountered: