diff --git a/html/watch.ejs b/html/watch.ejs index cd6cb15a..27908969 100644 --- a/html/watch.ejs +++ b/html/watch.ejs @@ -409,63 +409,8 @@ button:hover, a:hover { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -1068,7 +1013,23 @@ 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 { %> + +<% } %> -