File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 {% for item in showreel %}
1616 {% if item .type == " video" %}
1717 <div class =" slide" data-type =" video" data-src =" {{ item.src | url }}" >
18- <video playsinline muted preload =" metadata" >
19- <source src =" {{ item.src | url }}" >
18+ <video class = " lazyload " playsinline muted preload =" metadata" >
19+ <source data- src =" {{ item.src | url }}" >
2020 </video >
2121 </div >
2222 {% else %}
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ title: Short Film Projects
1717 {% if p .data .vimeoId %}
1818 <div class =" video-wrapper" style =" margin :12px 0 ;" >
1919 <iframe
20- src =" https://player.vimeo.com/video/{{ p.data.vimeoId }}?background=1&autoplay=1&loop=1&muted=1"
20+ class =" lazyload"
21+ data-src =" https://player.vimeo.com/video/{{ p.data.vimeoId }}?background=1&autoplay=1&loop=1&muted=1"
2122 width =" 100%" height =" 420" frameborder =" 0"
2223 loading =" lazy"
2324 allow =" autoplay; fullscreen; picture-in-picture"
You can’t perform that action at this time.
0 commit comments