📓
Transition Slider jQuery
  • Welcome
  • Getting started
    • Slider Project Setup
  • Slider Options
    • General
    • Size
    • Autoplay
    • Video
    • Navigation
    • Wheel Navigation
    • Pagination
    • Thumbnails
    • Hash Navigation
    • Loading
    • Lightbox
  • Slide Options
    • Slide parameters
    • Transitions
  • Layer Options
    • Layer parameters
    • Element parameters
  • Special notes
    • Running things locally
Powered by GitBook
On this page

Was this helpful?

  1. Slider Options

Video

<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of video buttons options
            buttons: {
                pauseVisible: true,
                muteVisible: true
            },
            resetVideos: false,
            videoAutoplay: true
        });
    });
</script>

Parameter

Type

Default

Description

buttons

object/boolean

true

Object with buttons parameters for video slide.

{

pauseVisible

boolean

true

Set to false to hide pause button on video slide.

muteVisible

boolean

true

Set to false to hide mute button on video slide.

}

resetVideos

boolean

false

Set to true if you want the video slide to start over.

videoAutoplay

boolean

true

Set the option to false unless you want the video slide to start playing automatically.

PreviousAutoplayNextNavigation

Last updated 3 years ago

Was this helpful?