add 60fps indicator :3

This commit is contained in:
ashley 2024-07-13 12:02:19 +00:00
parent 37ec1f248c
commit 80403f650e

View file

@ -1544,12 +1544,23 @@ Offical Discord Server! :3
<% if (inv_vid.genre === "Music") { %> <% if (inv_vid.genre === "Music") { %>
<div style="float: left;font-size: small;font-family: ubuntu;margin-bottom: 1em;"> <i title="hq audio" class="fa-light fa-waveform-lines"></i>&nbsp;Lossless </div> <div style="float: left;font-size: small;font-family: ubuntu;margin-bottom: 1em;"> <i title="hq audio" class="fa-light fa-waveform-lines"></i>&nbsp;High Quality Audio </div>
<% } %> <% } %>
<%
<% if (inv_vid.genre !== "Music") { %> let nonhditag = '136'; // Default itag
inv_vid.adaptiveFormats.forEach(format => {
if (format.itag == '298') {
nonhditag = '298';
}
});
%>
<% if (inv_vid.genre !== "Music" && nonhditag !== "298") { %>
<a href="#connections" style="font-weight: bolder;font-family: sans-serif;color: var(--text-color);font-size: small;"> Jump to Connections </a> <a href="#connections" style="font-weight: bolder;font-family: sans-serif;color: var(--text-color);font-size: small;"> Jump to Connections </a>
<% } %>
<% if (inv_vid.genre !== "Music" && nonhditag === "298") { %>
<div style="float: left;font-size: small;font-family: ubuntu;margin-bottom: 1em;"> <i title="60 FPS" class="fa-light fa-circle-waveform-lines"></i>&nbsp;60 FPS video </div>
<% } %> <% } %>
<div class="video-chnl-info-pill" name="chnl"> <div class="video-chnl-info-pill" name="chnl">