Video and pictures

Hello I was wondering if there is a way to play videos and pictures. Just where i point to one folder and it plays the video if it lands on a video file then back to slide show of pictures then back to video ect. is there any way to do this?

Thank you,
Darius Kirschner