test ignore

This commit is contained in:
ashley 2024-08-23 23:12:41 +00:00
parent 3b9cff1c24
commit a215c19082

View file

@ -1084,13 +1084,23 @@ Offical Discord Server! :3
<div id="<%=sha384(inv_vid.videoId)%>" class="video-player-container"> <div id="<%=sha384(inv_vid.videoId)%>" class="video-player-container">
<% if (!qua) { //TODO - a %> <%
<audio id="aud" preload> let itag = null; // Default to null
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=140&local=true" type="video/mp4" onerror="showErrorCard(event)"/> inv_vid.adaptiveFormats.forEach(format => {
</audio> if (format.itag == '136' || format.itag == '298') {
<% } else { %> itag = '140'; // Set itag to '140' if either '136' or '298' is found
<audio id="aud"></audio> }
<% } %> });
%>
<% if (itag && !qua) { %>
<audio id="aud" preload>
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=<%=itag%>&local=true" type="video/mp4" onerror="showErrorCard(event)"/>
</audio>
<% } else { %>
<audio id="aud"></audio>
<% } %>
<noscript> <noscript>
<% if (!qua) { %> <% if (!qua) { %>
<div id="nojs-high-res-warning" class="error-card"> <div id="nojs-high-res-warning" class="error-card">