PrettyPhoto not working[video from vimeo]

PrettyPhoto is deciding not to work with Vimeo videos for some reason and i can’t figure out why! ← Video on this page is just throwing Uncaught TypeError: Cannot read properties of null (reading ‘2’)

This site is using a theme that’s old and doesn’t have support anymore but client won’t update it. Any suggestions to fix it?