What am I doing wrong here?

yeah, I’m running it on a server, this is the error: Uncaught TypeError: player.setVelocityX is not a function
at initialize.update (index.html:48)