MaxImage repurposed as an unattended slideshow

Simply insert videos and photos into the "media" folder. The slider
plays through the entire video file before going to the next slide.
Once all slides have been displayed the page is reloaded. Media is also
displayed in random order with each load.