LOS ANGELES—As any music fan knows, “cover” videos are huge on YouTube and Facebook. But as one singer found it, covering an Ed Sheeran song could trigger Facebook to suspend your account.

Just ask London busker Charlotte Campbell.

She posted a video on YouTube about how Facebook suspended her for three days after posting a snippet of a Sheeran cover song. That got the attention of Sheeran, who apologized.

Covers are huge on YouTube. Former Nickelodeon performer Ariana Grande got her music career started performing covers there.

But on Facebook, posting covers isn’t as easy. Because the social network doesn’t have licenses with music companies, it has been taking down members’ videos, or worse, suspending their accounts.

Digital Music News described the situation in which Sheeran fans find they’re in hot water with Facebook, and blame not the social network, but the artist.

In her video, Campbell described the pain of going three days without her account, and notes that Facebook told her that if she posted another cover video, “they will delete my account.”

Sheeran wrote her on Facebook to apologize and urge her to keep it up.

The ban “definitely has nothing to do with me,” says Sheeran, who got his start posting songs on MySpace, and currently has the number one album on Billboard, his latest, “Divide.”

Sheeran blamed…