How to get artwork_url based on trackid in thml

48 views Asked by At

I would like to add thumbnail in my html with trackid and clicking on the thumbnail image will open modelbox to play video.

on the html page I have only track id info.

So how can I display thumb image on basic html page?

SC.get('/tracks/726040417', function(sound) {
    console.log(sound.artwork_url);
});

i am using something like above but its giving SC undefied error.

0

There are 0 answers