Let image thumbnails lazy load.
This commit is contained in:
parent
de5aba4895
commit
17cd98fa50
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ https://stackoverflow.com/a/35153397
|
||||||
onclick="onclick_select(event)"
|
onclick="onclick_select(event)"
|
||||||
class="video_card video_card_{{video.download}}"
|
class="video_card video_card_{{video.download}}"
|
||||||
>
|
>
|
||||||
<img class="video_thumbnail" src="http://i3.ytimg.com/vi/{{video.id}}/default.jpg" height="100px">
|
<img class="video_thumbnail" loading="lazy" src="http://i3.ytimg.com/vi/{{video.id}}/default.jpg" height="100px">
|
||||||
<div class="video_details">
|
<div class="video_details">
|
||||||
<a class="video_title" href="https://www.youtube.com/watch?v={{video.id}}">{{video._published_str}} - {{video.title}}</a>
|
<a class="video_title" href="https://www.youtube.com/watch?v={{video.id}}">{{video._published_str}} - {{video.title}}</a>
|
||||||
<span>({{video.duration | seconds_to_hms}})</span>
|
<span>({{video.duration | seconds_to_hms}})</span>
|
||||||
|
|
Loading…
Reference in a new issue