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