I am working on a project that I want to function similar to a Slideshow. Essentially, what I want to happen is when I click the "NEXT" button it should play a video, when I click "NEXT" again it will play a different video. If I hit "PREVIOUS" it will go back to the previous video. Just like a typical slideshow would work.
I know that I need to use a for loop for this but I have no idea how to integrate it.
Check out my project here and you can see the progress I have made so far (just hover the mouse toward the bottom of the page to pull up the NAV.
Thanks for your help!