				events: {
									'onStateChange': onPlayerStateChange(slider.slides.eq(slider.currentSlide).find('iframe').attr('id'), slider)
								}
							});
						});

			           /* ------------------  YOUTUBE FOR AUTOSLIDER ------------------ */
			           playVideoAndPauseOthers(slider);
			       }
			    },
			   	after: function(slider) {
			        if (slider.slides.eq(slider.currentSlide).find('iframe').length !== 0) {
			           			           jQuery(slider).find('.flex-control-nav').hide();
		