
Play to the gallery
Attention Seeking
Used when someone wants to be the center of attention, especially by doing something flashy. 
Negative Connotation
May imply that the speaker is not sincere or is more concerned with popularity than substance. 
Context Dependent
It's usually used critically and can be context-specific, such as in politics or entertainment. 