Video Controls for Pausing and Unpausing a Movie

Thank you all so much for your help! The video didn’t pause after uncommenting…
else:
movieIsPlaying = False
However, using this line of code did work.
if globalClock.getTime() < (t+1):
movieIsPlaying = False

Thanks!