I need to start downloading videos from the server on the page after the user scrolls down to this point. Video on the page are inserted forychem . Through the video tag
<?if($arSection["UF_VIDEOSLIDER"]):?> <section class="main-slider-video"> <?foreach ($arSection["UF_VIDEOSLIDER"] as $videoItem):?> <div class="item video"> <video class="slide-video slide-media" preload="metadata" playsinline autoplay muted loop> <source src="<?=$videoItem["path"]?>" type="video/mp4" /> </video> <h2 class="production-video__title"><?=$videoItem["title"]?></h2> <p class="production-video__note"><?=$videoItem["desc"]?></p> </div> <?endforeach;?> </section> <?endif;?> I can not imagine how to start downloading video from the server after scrolling to a certain place. Any ideas ? Suggestions ?

vidEl.play()- carcinogen75