# Startup Audio and Video

You can make PinballY play a custom audio and/or video file whenever the program starts up. Setting up the startup items is just a matter of creating suitable files in the Media folder within your main PinballY program folder.

Custom startup video: Place a file called Startup Video.mp4 in the PinballY Media folder. It has to use that exact name, including the space, but you can change the suffix from .mp4 to any of the other supported video format extensions (.mpg, .f4v, .mkv, .wmv, .m4v, .avi). If a file with this name (using any of the supported extensions) exists, PinballY will automatically play it in the main playfield window each time the program starts.

You can also play startup videos in any of the secondary windows at the same time. These go in the same Media folder, with the target window identified by the filename:

Window | Filename
--- | ---
Playfield | Startup Video.ext
Backglass | Startup Video (bg).ext
DMD | Startup Video (dmd).ext
Topper | Startup Video (topper).ext
Instruction Card | Startup Video (instcard).ext

As with the playfield video, the extension .ext can .mpg, .mp4, .f4v, or any of the other standard extensions for any supported video formats.

PinballY loads all of the startup videos and starts playback simultaneously, or as close to simultaneously as possible. This lets you coordinate effects across the separate videos to some extent, since the videos should all be synchronized to the same playback clock. If you want effects in two or more of the videos to occur simultaneously in playback, simply edit the videos so that the events occur at the same time code in each video.

Custom startup audio: Place a file called Startup Audio.mp3 in the PinballY Media folder. Use that exact name, including the space, but you can change the suffix from .mp3 to .wav or .ogg if you wish to use one of those formats. As with the startup video, the program will automatically play back this file each time you start a new session.

If the startup audio and startup video files are both present, PinballY will simply play them both at the same time. It's best to use a silent video in this case so that the soundtracks aren't trying to shout each other down.