image copyrightGetty Imagesimage captionThe officer played Taylor Swift's song Blank Space
A US police officer being filmed by activists after he asked them to move a banner, played a Taylor Swift song on his phone in a failed attempt to stop the video being uploaded to YouTube.
The Alameda County Sheriff's Office officer played Swift's Blank Space, saying it meant that YouTube would take down the video if posted.
However, the officer's efforts were in vain as the clip promptly went viral.
The sheriff's department told the BBC it was not "approved behaviour".
The video was filmed by members of the Anti Police-Terror Project (APTP), which says it is a coalition that seeks to "eradicate police terror in communities of colour".
Some of them were protesting outside the courthouse at the pre-trial hearing of a San Leandro officer charged with the manslaughter of a black man.
Vice news has reported on cases of other California-based officers starting to play Beatles songs while being filmed.
And activists have suggested this is so clips are removed, because of copyright issues surrounding the music.
On the YouTube page, the APTP wrote: "We'd heard about this phenomenon, but no-one had captured it on video until now. Now not only do we have a video of a cop doing it, we also have the cop admitting why he was doing it".
Figure captionWarning: Third party content may contain adverts
In the video, the officer says: "You can record all you want, I just know it can't be posted to YouTube."
When asked if playing music in this way is procedure, the officer responds: "It's not specifically outlined."
Later in the video, he confirms: "I'm playing music so that you can't post on YouTube."
The sheriff's department said: "We have seen the video and referred it to our internal affairs bureau. This is not approved behaviour. It will not happen again."
The video, which was posted on 1 July, has had more than 170,000 views and remains online. It is also visible on the APTP's Twitter page.
- Biden backs funding more police to fight crime wave
- Why popular YouTubers are building their own sites
While video-sharing platforms and social networks do use automated systems to flag and remove copyright material, the rules vary.
YouTube has a number of copyright management tools, including a system called Content ID.
"Videos uploaded to YouTube are scanned against a database of files that have been submitted to us by content owners," it says.
Copyright owners can then decide whether to block, monetise or track the content.
But the idea that playing copyright music could be a tactic used by police to avoid sharing online and on social media, is one that has attracted serious attention following the removal of activist videos.
Last year, Nick Simmons and Adam Holland of Harvard University's Lumen project, which studies copyright content removal, noted that a number of videos linked to Black Lives Matter protests had been removed because they contained copyrighted music.
The researchers suggested that "law enforcement", or anyone else who wanted to stop videos being shared, "need only make sure that copyrighted audio is present with sufficiently recognisable clarity and volume in the background of a protest or other event".
The pair called it: "A chilling prospect indeed."