Skip to content

Commit

Permalink
Remove gfycat code
Browse files Browse the repository at this point in the history
  • Loading branch information
Joehuu committed Nov 5, 2023
1 parent c80489b commit c43670b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions themes/rainmeter-www/layout/_partial/index/gallery.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
Your browser does not support HTML5 videos.
</video>
<% } %>
<% if (gallery.type === 'gfycat') { %>
<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>
<source src="https://zippy.gfycat.com/<%- gallery.content %>.webm" type="video/webm">
<source src="https://giant.gfycat.com/<%- gallery.content %>.mp4" type="video/mp4">
Your browser does not support HTML5 videos.
</video>
<% } %>
<% if (gallery.type === 'youtube') { %>
<a class="col-12 col-md-4" data-fancybox="gallery" data-caption="<%= caption %>" href="<%- gallery.content %>&amp;autoplay=1&amp;rel=0&amp;showinfo=0&amp;mute=1">
<img data-src="<%- gallery.thumbnailURL %>" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" onload="lzld(this)" alt="<%- gallery.title %> by <%- gallery.author %>">
Expand Down

0 comments on commit c43670b

Please sign in to comment.