This is a followup of my youtube embed example, this shows/tells you how to embed a playlist/song from spotify onto your website using html!
let bodyHtml = `
Spotify Embed Example
Spotify Embed Example
Have you ever wanted to have spotify in your website? Me neither, but here's how you do it...
Load up spotify on your computer, find a playlist or song you want on your website, click the 3 dots, click share, click embed playlist/song.
And you're done!
Here is a playlist embeded onto this page!
`;
return {
statusCode: 200,
headers: {
'Content-Type': 'text/html',
},
body: bodyHtml,
};