"When I was trying to think about what do I know about CPR, (my mind literally went) to that episode of The Office, where they are doing CPR training and doing the compressions to the beat of [Bee Gee's song] Stayin' Alive," the dad told NBC's Today.
"It's just what kicks in, what's in your head, and that's fortunate," he added.
The 2009 episode was called "Stress Relief" and had office staff taking part in a CPR class arranged by Scott, played by Steve Carell.
Uber had heard a loud thud in the house on April 25 and that's when he found his daughter limp on the floor.
He ran over to her and yelled to his wife Erin to call an ambulance.
As he started to perform CPR on his little girl, he recalled the episode from The Office.
He placed his hands in the right spot and began compressions to the beat of the Bee Gees' disco classic.
"I remembered to lift her neck and make sure that she wasn't choking or having a seizure," Uber told Today.
"I was panicked and it was chaotic. In the meantime, the wonderful [emergency] operator got on and talked me through the process."
When paramedics arrived, they took over with CPR and used the defibrillator.
"On the second delivery of shock, she responded and we heard her little cry," the dad said.
After Vera was taken to hospital and had multiple tests, it was discovered she had calmodulinopathy, a rare, life-threatening condition that causes arrhythmia in young people.
Doctors recommended fitting her with an implantable cardioverter defibrillator, a device that jolts the heart if it stops, Today reports.
"While we are hopeful of course that she is safe and protected forever, we also have a mission or a commitment, both, [to learn] rudimentary CPR — YouTube it — or to go through a formal training because, quite honestly, there may be a time that our baby will need it," Vera's mum, Erin said.