Why does video screen get brighter and how to prevent it?
You can disable MX Player's brightness controls. To do this, goto Settings>Player>Screen and uncheck the brightness option.
And, an alternate option is to use an xposed module(you need a rooted device) named Minimum Brightness.