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

5

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

Thank you so much!

21

u/jessek 3d ago

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

9

u/AstraeusGB 3d ago

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

14

u/audigex 3d 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 3d 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 3d ago

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

1

u/juicybot 3d 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 3d ago

Is that possible? 

Yes, but its almost certainly a bad idea conceptually.

1

u/_keyboard-bastard_ 3d ago

Just embed a playlists from another platform.

-1

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