Set up the infrastructure to play music #29
|
@ -38,7 +38,6 @@ const updateTrackList = (tracks: TrackInfo[]) => {
|
|||
listItem.appendChild(card);
|
||||
listItem.trackId = info.id;
|
||||
listItem.onPlay = (id: string) => {
|
||||
console.log("time to play ", id);
|
||||
playTrack(id);
|
||||
};
|
||||
playlist.appendChild(listItem);
|
||||
|
|
Loading…
Reference in New Issue