From b06f34929fef83af8e66c0a7f79c1d2a27fabc44 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 27 Aug 2025 09:25:24 +0200 Subject: [PATCH] Update html/watch.ejs --- html/watch.ejs | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/html/watch.ejs b/html/watch.ejs index cd6f3536..12ad6cbb 100644 --- a/html/watch.ejs +++ b/html/watch.ejs @@ -410,7 +410,7 @@ button:hover, a:hover { - + @@ -1013,7 +1013,21 @@ Offical Discord Server! :3
- + + <% + let itag = null; // Default to null + VideoData.adaptiveFormats.forEach(format => { + if (format.itag == '136' || format.itag == '298') { + itag = '140'; // Set itag to '140' if either '136' or '298' is found + } + }); +%> + +<% if (itag && !qua) { %> +<% } else { %> + +<% } %> +