Lin-Manuel Miranda raps fan for filming Hamilton

Getty Images Lin-Manuel Miranda standing on-stage at the end of a performance of Hamilton, holding the Puerto Rico flagGetty Images
Miranda returned to Hamilton to star in the show's two-and-a-half week run in Puerto Rico

Regular theatre-goers will no doubt be familiar with a pre-show announcement advising that "the use of recording equipment is strictly prohibited".

Anyone found breaking this cardinal rule risks being thrown out, with actors rarely taking kindly to those pointing a camera at the stage.

This was the case in Puerto Rico when Hamilton creator and actor, Lin-Manuel Miranda, interrupted his performance to beg an audience member to stop filming.

But not exactly.

The man who wrote the music and lyrics to Hamilton made a self-edit live on stage, as he changed the words to one of the show's songs to get the message across.

Lin-Manuel Miranda/Twitter Screenshot of Lin-Manuel Miranda's tweet. It reads: "Hamilthought, Show #7, 1/16/19. 2nd rewrite: I'ma get a scholarship to King's College. I probly shouldn't brag but dag I amaze and astonish. Lady filming in the 4th row please stop it! I gotta holler just to be heard with every word I drop knowledge. Please don't make me do that bleep again" - we've replaced 'bleep' for the word he actually used.Lin-Manuel Miranda/Twitter
Miranda used some choice language to describe the behaviour

He sang: "Lady filming in the fourth row, please stop it."

Had Miranda not spotted the audience member attempting to pirate the show, he would have sung the original line, "the problem is I got a lot of brains but no polish".

The new lyric came part-way through the first act song My Shot, which chronicles Alexander Hamilton's first meeting with John Laurens, Hercules Mulligan and Lafayette.

And Miranda suggested his colleagues on stage were taken aback by his lyrical improvisation in a subsequent Twitter post.

Allow Twitter content?

This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read  and  before accepting. To view this content choose ‘accept and continue’.

Though it is unusual for someone to attempt to film a stage show, it is not unheard of.

Piracy is a well-known problem within the stage industry, with some audience members uploading and exchanging their bootlegged recordings online.

Some fans have justified the practice by citing the price of theatre tickets, particularly when also taking into account the travel costs for those living outside major cities.

But Miranda has previously had people removed from the theatre for recording, which he has said "misrepresents" his work.

Allow Twitter content?

This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read  and  before accepting. To view this content choose ‘accept and continue’.

By Tom Gerken, BBC UGC & Social News