Automatically pause player