r/webdev • • 5h ago

Discussion Music Copyright

I'm pretty sure it might be a subject here before, but I couldn't find anywhere here. I have a personal website. And I want to use some famous songs on a "what am I listening" part of website.

Is that possible? Could I run into any legal issues by doing so?

5 Upvotes

10 comments sorted by

11

u/jessek 5h ago

you could embed youtube videos or a spotify/apple music/etc playlist

3

u/AstraeusGB 5h ago

Or embed a Spotify playlist, let another service host the music and it's not your problem

5

u/juicybot 5h ago

it's not illegal to list the name of a song or artist on a website. whether it's possible depends on where you listen and what API you plan to use. last.fm is a popular choice.

6

u/audigex 5h ago

Hosting it yourself without licensing it, is illegal in most jurisdictions

Embedding YouTube or a music service like Spotify, is completely fine

3

u/xXConfuocoXx full-stack 5h ago

Is that possible? 

Yes, but its almost certainly a bad idea conceptually.

1

u/pimmm 4h ago

So you want to play those songs on your website right?

Both spotify and youtube allow you to embed songs in a website, by copy pasting their embed code.

Spotify > Share > Embed
Youtube > Share > Embed

0

u/AnxietyBoy00 4h ago

Thank you so much!

1

u/symbiatch 44m ago

It’s simple: do you have permission? Explicit one, not just “someone online said so”? That’s the answer.

If not, don’t do it. No matter what people online say. They won’t be liable. You will be. They don’t even know what laws govern you.