I attached my june 2013 MBA via thunderbolt to HDMI to my TV, and when I open Netflix in Safari and use Netflix's full screen button, my laptop is open it looks like this:
But when I close my laptop (plugged into wall power), I get this:
What am I doing wrong? How can I fix this? I know I did this once and it worked. I just want my laptop closed and playing netflix.

But when I close my laptop (plugged into wall power), I get this:

What am I doing wrong? How can I fix this? I know I did this once and it worked. I just want my laptop closed and playing netflix.