Movie doesn't play

Hello, in the future, please do this to make your code readable (I’ve already edited your post above), as often issues with code are due to indentation problems, and we can’t see these when code is posted as normal text:

But in answer to your question, check out the movie demos under the demos menu in the Coder view of PsychoPy. In essence, you need to actively play a movie, by drawing each of its frames. At best above, the code would just draw the first image from the movie and then pause, waiting for a key. You need instead to create a loop, and call mov.draw() and win.flip() repeatedly until the movie is finished.