Switching off debug mode and hiding video player