A
A
Andrej Sharapov2019-08-21 15:18:23
Vue.js
Andrej Sharapov, 2019-08-21 15:18:23

How to load video at the moment of scrolling?

Now the site is loading with a short duration, obviously due to the container with video blocks located almost at the very bottom of the page.
The blocks themselves are on the view component and load data from the json file, along with links to frames.
How to make sure that the blocks are loaded not together with the opening of the page, but at the moment of scrolling to them? And how effective will it be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Chefranov, 2019-08-21
@Madeas

Watch an excellent video by Vadim Makeev on the topic: how to insert a bunch of videos on a page without loading it https://www.youtube.com/watch?v=4JS70KB9GS0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question