You don't have to recompile MAME to disable the gameinfo from showing up before it plays the game. That's just adjusted in the MAME.ini file. Just switch skip_gameinfo to 1. Or just adjust it within the MAME UI. But as previously stated, there probably isn't a way to add a video. At least not an easy one
Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM