Skip to content

akshay-sarkar/VideoSliderJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoSliderJS

Plugin to play video/audio and images in a slider with configuration

TO ADD IMAGES and VIDEOS IN SLIDER

For adding images and videos in slider, create an LI element and then place your IMG or VIDEO tag inside it and, put it inside UL element ('carousel'). Check Code for more information

// TO CONFIGURE VideoSlider
var VideoSlider = new VideoSlider();
s.init({
    interval: 4000,               // Set VideoSlider Interval 4000 - 4 sec.
    autoPlayMediaContent: true,   // true will make media content(audio/video) runs automatically on coming in front, FALSE will not play video.
    moveItemsLeft:true,           // true will move VideoSlider towards left, FALSE will move VideoSlider towards right.
    animateTime : 1000,           // Set the Animation tranisition speed (set in css as well)
    autoPlaySlide: true           // false will make VideoSlider only on button click
});

###Note: Yet to audio compatability.

#Snapshots: #Image Image_Slider #Video Video_Play

#Sliding Transition Sliding

About

Plugin to play video/audio and images in a slider with configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published