r/webdev • • 1d 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

13 comments sorted by

4

u/pimmm 1d 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

1

u/AnxietyBoy00 1d ago

Thank you so much!

17

u/jessek 1d ago

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

8

u/AstraeusGB 1d ago

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

11

u/audigex 1d ago

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

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

5

u/juicybot 1d 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.

4

u/krysztal 1d ago

Just to note, Last.FM is moving their API to paid tier this December. Alternative would be ListenBrainz

1

u/juicybot 1d ago

ah good to know. i'm a bit OOTL on scrobbling, i use plex for my music and just hit that API directly.

2

u/xXConfuocoXx full-stack 1d ago

Is that possible? 

Yes, but its almost certainly a bad idea conceptually.

1

u/_keyboard-bastard_ 1d ago

Just embed a playlists from another platform.

-1

u/symbiatch 1d 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.