Fix video uploading on simulator.