title: Bootstrap Carousel interval on each slide working after 2 slides not on first and second slide
body: <p><p>As you can see that here on first two slides the interval attribute doesnt work or maybe it's taking the first one for the second. i want to set different interval between first and second slide and for rest it may remain same.. but i am for some reason unable to do this.. kindly help</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$.fn.carousel.Constructor.prototype.cycle = function (e) {
  
          e || (this.paused = false)
          this.interval &amp;&amp; clearInterval(this.interval)
  
          this.options.interval
            &amp;&amp; !this.paused
            &amp;&amp; (this.interval = setInterval($.proxy(this.next, this), this.$element.find('.item.active').data('interval') || this.options.interval))
  
          return this
        }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" /&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;div id="carousel-1" class="carousel carousel-fade slide" data-ride="carousel"&gt;
                       &lt;div class="pause-play-buttons"&gt;
                          &lt;i id="playButton" class="fa fa-play" aria-hidden="true"&gt;&lt;/i&gt;
                          &lt;i id="pauseButton" class="fa fa-pause" aria-hidden="true"&gt;&lt;/i&gt; 
                       &lt;/div&gt;
                       &lt;ol class="carousel-indicators"&gt;
                          &lt;li class="active"  data-target="#carousel-1" data-slide-to="0"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="1"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="2"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="3"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="4"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="5"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="6"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="7"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="8"&gt;&lt;/li&gt;
                          &lt;li data-target="#carousel-1" data-slide-to="9"&gt;&lt;/li&gt;
                       &lt;/ol&gt;
                       &lt;!-- Wrapper for slides --&gt;
                       &lt;div class="carousel-inner" role="listbox"&gt;
                          &lt;div class="item active"  data-interval="1000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/1.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption wow  animated fadeInUp animated"&gt;
                                Wi-Fi for everybody, &lt;br&gt; benefits for you
                             &lt;/div&gt;
                          &lt;/div&gt;                        
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/3.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInRight"&gt;
                                Let the good times begin, make your Social Wi-Fi profitable!
                             &lt;/div&gt;
                          &lt;/div&gt;
                          
                          &lt;div class="item" data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/4.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInDown" style="color: #4e0054;  text-shadow: 0 0 2px #fff;"&gt;
                                Your patients enjoy high quality Wi-Fi while waiting for your assistance
                             &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="item" data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/6.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInLeft" style="color: #006b24;"&gt;
                                Controlled Wi-Fi avoids intruders and prevents abuses
                             &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/5.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInUp" style="color: #006b24;"&gt;
                                Social Wi-Fi gets closer to your customers, even if they are out of your shop …
                             &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/9.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInUp"&gt;
                                With Optimized Wi-Fi you get good coverage and fast browsing
                             &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/8.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInDown" style="color: #006b24;"&gt;
                                To better know your clients… Get closer them with Social Wi-Fi!
                             &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/7.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInRight" style="color: #4e0054; text-shadow: 0 0 2px #fff;"&gt;
                                Be always connected to your customer thanks to Social Wi-Fi
                             &lt;/div&gt;
                          &lt;/div&gt;
  
  
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/2.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInLeft"&gt;
                                Optimized Wi-Fi, your patients connected as if the network is only for them
                             &lt;/div&gt;
                          &lt;/div&gt;                       
                          
                          &lt;div class="item"  data-interval="5000"&gt;
                             &lt;img src="http://neelnetworks.org/stangelos/images/pictures_carousel/10.jpg" alt="..."&gt;
                             &lt;div class="carousel-caption animated fadeInLeft" style="color: #4e0054;  text-shadow: 0 0 2px #fff;"&gt;
                                Let the good times begin, make your Social Wi-Fi profitable!
                             &lt;/div&gt;
                          &lt;/div&gt;
                       &lt;/div&gt;
                       &lt;!-- Controls --&gt;
                       &lt;a class="left carousel-control" href="#carousel-1" role="button" data-slide="prev"&gt;
                       &lt;span class="fa fa-angle-left" aria-hidden="true"&gt;&lt;/span&gt;
                       &lt;span class="sr-only"&gt;Previous&lt;/span&gt;
                       &lt;/a&gt;
                       &lt;a class="right carousel-control" href="#carousel-1" role="button" data-slide="next"&gt;
                       &lt;span class="fa fa-angle-right" aria-hidden="true"&gt;&lt;/span&gt;
                       &lt;span class="sr-only"&gt;Next&lt;/span&gt;
                       &lt;/a&gt;
                    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>