<script>
var slideIndexVid = 1;
showSlidesVid(slideIndexVid);
function plusSlidesVid(n) {
showSlidesVid(slideIndexVid += n);
}
function currentSlideVid(n) {
showSlidesVid(slideIndexVid = n);
}
function showSlidesVid(n) {
var i;
var slidesVid = document.getElementsByClassName("vid-slides");
var dotsVid = document.getElementsByClassName("dot-vid");
$('#vidS1')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
$('#vidS2')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
$('#vidS3')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
$('#vidS4')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
$('#vidS5')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
$('#vidS6')[0].contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
if (n > slidesVid.length) {slideIndexVid = 1}
if (n < 1) {slideIndexVid = slidesVid.length}
for (i = 0; i < slidesVid.length; i++) {
slidesVid[i].style.display = "none";
}
for (i = 0; i < dotsVid.length; i++) {
dotsVid[i].className = dotsVid[i].className.replace(" active-vid", "");
}
slidesVid[slideIndexVid-1].style.display = "block";
dotsVid[slideIndexVid-1].className += " active-vid";
}
</script>
<div class="video-container">
<h2>Our Demo Sessions</h2>
<div class="vid-slides">
<iframe id="vidS1" src="https://www.youtube.com/embed/PGW3lgbGFc8?rel=0&&enablejsapi=1" frameborder="0" enablejsapi allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="vid-slides">
<iframe id="vidS2" src="https://www.youtube.com/embed/oolJWcOhHCw?rel=0&&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="vid-slides">
<iframe id="vidS3" src="https://www.youtube.com/embed/9MO1aY1xC80?rel=0&&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="vid-slides">
<iframe id="vidS4" src="https://www.youtube.com/embed/q5jEY92Amgw?rel=0&&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="vid-slides">
<iframe id="vidS5" src="https://www.youtube.com/embed/VLUl3NgQY1A?rel=0&&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="vid-slides">
<iframe id="vidS6" src="https://www.youtube.com/embed/rw8GhqZaNHE?rel=0&&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<a class="prev-video" onclick="plusSlidesVid(-1)"><</a>
<a class="next-video" onclick="plusSlidesVid(1)">></a>
<div style="text-align:center">
<span class="dot-vid" onclick="currentSlideVid(1)"></span>
<span class="dot-vid" onclick="currentSlideVid(2)"></span>
<span class="dot-vid" onclick="currentSlideVid(3)"></span>
<span class="dot-vid" onclick="currentSlideVid(4)"></span>
<span class="dot-vid" onclick="currentSlideVid(5)"></span>
<span class="dot-vid" onclick="currentSlideVid(6)"></span>
</div>
</div>