Skip to content

Commit

Permalink
Stop preloading showcase videos
Browse files Browse the repository at this point in the history
  • Loading branch information
poiru committed Nov 26, 2024
1 parent 9a4c63c commit 2386ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/rainmeter-www/layout/_partial/index/gallery.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a class="col-12 col-md-4" data-fancybox="gallery" data-src="#video<%=i%>" data-caption="<%= caption %>">
<img data-src="<%- gallery.thumbnailURL %>" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" onload="lzld(this)" alt="<%- gallery.title %> by <%- gallery.author %>">
</a>
<video class="fancybox-video" id="video<%=i%>" loop muted controls>
<video class="fancybox-video" id="video<%=i%>" loop muted controls preload="none">
<source src="<%- gallery.content %>" type="video/webm">
<source src="<%- gallery.content %>" type="video/mp4">
Your browser does not support HTML5 videos.
Expand Down

0 comments on commit 2386ee2

Please sign in to comment.