ApoorvSaxena / ApoorvSaxena/lozad.js

Avoid reloading with autoplay video

Đang mở
#275 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
7.5k
Fork
435
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I am creating a webiste using video with the autplay attribute.
When I open my console to check the loaded media, I can see that if I cross my page from the top to the bottom and vice versa, my videos are loaded again. It is sending httpRequests endlessly.
However if I remove autoplay, it works fine.

Do you have any suggestion ?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.