From 80403f650ecd295ccf47e34a5e39777a6a6e5fe0 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 13 Jul 2024 12:02:19 +0000 Subject: [PATCH] add 60fps indicator :3 --- html/poketube.ejs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 5b28196..902eef6 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1544,12 +1544,23 @@ Offical Discord Server! :3 <% if (inv_vid.genre === "Music") { %> -
 Lossless
+
 High Quality Audio
<% } %> - - <% 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") { %> Jump to Connections + <% } %> + <% if (inv_vid.genre !== "Music" && nonhditag === "298") { %> + +
 60 FPS video
<% } %>