r/webdev • u/AnxietyBoy00 • 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
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
21
u/jessek 3d ago
you could embed youtube videos or a spotify/apple music/etc playlist
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.
2
u/xXConfuocoXx full-stack 3d ago
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.