I think you just need to attach a script to the dialog line. After the line is spoken/printed to screen, the script fires automatically. Inside the script you'll execute the PlayMovie() engine function. Use DLGEditor to attach the script to the dialog (for K2 scripts you will fill in the field "Script #1")
Here's an example of the script: