I've recently installed some mp4 videos as DMD overlays in mini pup packs. (I made a post recently about PinballX not recording screenshots of this DMD area)
However, this is a separate issue, I'm certain of it. That's because I've installed around 80 of these little videos as tiny pup-packs (they play on a loop around 30 seconds long). To install them I create a pup-pack and it has one folder with this single mp4 file in it.
On exiting a table PinballX handles everything fine... except for Twilight Zone where it kills the table, backglass and DMD but will not kill the mp4 video. So the video is left playing while I'm browsing other tables. When I exit PinballX back to desktop I find that PinupPlayer and PinupDisplay are still running in my hidden icons on taskbar.
I cannot understand why, as I created this pup-pack the same as all the others. The video isn't the largest file size either. PinballX kills packs containing larger size video files just fine. It's just this one (so far that I've found). It must be something to do with the video file itself, as all others are closed fine.
I'm not running PinballX in compatibility mode or as Admin. (Nothing is as Admin). Escape key is disabled in VPX key config as sometimes (rarely) it takes precedence over ESC for PinballX. With it disabled in VPX I don't ever have that issue again.
EDIT: I just swapped the Twilight Zone mp4 video for another video I used in another pup-pack. And PinballX still refuses to close it. So there must be something about this table that is stopping PinballX closing everything down, because that video gets closed in the other pack it's used in.
DOUBLE EDIT: OMG I found a solution! I Googled PinballX in conjunction with Twilight Zone and it seems a line of code needs to be added to the bottom of the table script as follows:
Sub Table1_Exit():Controller.Stop:End Sub
Always learning something in this hobby (Don't know how to mark topic as solved though :p)