Ninja Slider: playVedio function
The Ninja Slide has a built-in function, playVideo(indexOrLi). It can be used to programmatically control the video/audio playing. You will see this when clicking the 2nd or the last thumbnail in the demo above.
Note:The slider with videos functions well when the page is hosted on a web server or localhost server. Don't test it by opening the page from local file path (file:///...).
The arrows will move inside the slider when the browser size is close to the slider width, and will disappear if continue shrinking the browser to a mobile size.
This can be easily configured by the media queries in the stylesheet. Please visit Hide nav buttons on mobile phones for details.
Arrow Buttons are not needed for mobile phones as users can navigate by swipe or tap on the screen.