Added video recording, currently broken on emulator.