Chrome used the HTML5 player on YouTube. I switched to the Flash player with the extension you provided and the bug occurred once again. As this bug occurs with simple Google search pages, I don't think it's only because of videos. Maybe a problem with Google pages
@Vinayak: I installed Turn Off the Lights a very long time ago and it never bothered me. I didn't install a new extension very recently. Moreover, I started Chrome with a new user profile, without any extension installed, and I still got this bug.
@DavidPostill: I started Chrome after deleting my Default profile, then I opened some YouTube tabs, and I still got the popup. (Sorry for the late answer)