play to the gallery

📖 general
Meaning
to act in a way that seeks approval from the audience
Literal Meaning
to perform for the benefit of the spectators
Example
“The politician played to the gallery with his emotional speech.”