That is the one I have, I watched that video but it's just a marketing video, nothing helpful.
The . is a typo when I copy and pasted the code, it isn't there in the code I'm using.
I haven't used an encoder with a stepper before so I wasn't sure about connections for it, but I see in the video he doesn't have any pull-up resistors going to any terminals.
I'm just searching for some way to get proper movement.