I've been on the hunt for an answer for a few weeks. I'm using CM11 nightlies and when I'm watching a video in the browser my screen dims and eventually shuts off as if nothing was playing. I did see a few people post with the same issue in a few threads but that's about it. I thought it would eventually be fixed but it doesn't seem to be a common issue. Only happens in the AOSP browser and I just clean flashed everything before posting. So it can't be because of the dirty flashes. Anyone have any idea what gives?