Lookbook
{% assign slide_duration = 5000 %}
{% assign animation_speed = 500 %}
{% assign auto_animation = false %}
{% assign animation_type = 'fade' %}
jQuery(window).load(function() {
// Call fitVid before FlexSlider initializes, so the proper initial height can be retrieved.
jQuery('.flexslider')
.fitVids()
.flexslider({
animation:'{{ animation_type }}',
smoothHeight: true,
useCSS: false,
slideshowSpeed: {{ slide_duration }},
animationSpeed: {{ animation_speed }},
controlNav: false,
slideshow: {{ auto_animation }}
});
});