mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:17:58 +01:00
add 60fps indicator :3
This commit is contained in:
parent
37ec1f248c
commit
80403f650e
1 changed files with 14 additions and 3 deletions
|
@ -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> 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> 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> 60 FPS video </div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<div class="video-chnl-info-pill" name="chnl">
|
<div class="video-chnl-info-pill" name="chnl">
|
||||||
|
|
Loading…
Reference in a new issue