Both will work. I was curious if the vertical gears would work, so i made the "... _for illustration" first.
That one you see in the video.
They are not identical, the small gears have a fixed installed axis in the print it all, what can make it more robust.
You have to use support for the small vertical gears.
I'm working on a 5-gears version that is a little bit larger and adds one gear to fix rotation directions, more suitable for sliding on e.g. carpets.
Stay tuned ;)
p.s. Please post a make :)