fix a thingy again

This commit is contained in:
Ashley //// 2024-02-14 14:02:14 +00:00
parent 0669346e75
commit 6f1821dfd1

View file

@ -1239,13 +1239,11 @@ display: block; !important;" autoplay controls>
<% }%> <% if (video?.Channel.Name.endsWith(' - Topic') || inv_vid.title.endsWith('Audio)')) { %> <% }%> <% if (video?.Channel.Name.endsWith(' - Topic') || inv_vid.title.endsWith('Audio)')) { %>
<% if (video?.Channel.Name.endsWith(' - Topic') || inv_vid.title.endsWith('Audio)')) { %> <% if (video?.Channel.Name.endsWith(' - Topic') || inv_vid.title.endsWith('Audio)')) { %>
<a class="new-button" title="open this song in poketube music player :3" style="color:var(--text-color);text-decoration: none;" href="/music?v=<%=inv_vid.videoId%>"> <a class="new-button" title="open this song in poketube music player :3" style="color:var(--text-color);text-decoration: none;" href="/">
<div class="pill-button"> <div class="pill-button">
<i class="fa-light fa-music"></i> <i class="fa-light fa-music"></i>
Open In Music Player WIP! </a>
</div>
</a>
<% }%> <% }%>
<% }%> <% }%>
@ -2009,7 +2007,10 @@ window.addEventListener("unload", cleanup)
</script> </script>
<!-- SCRIPTS END --> <!-- SCRIPTS END -->
</div> <script> </div>
<% if(secure) { %>
<script>
var statsurl = "https://invid-api.poketube.fun/api/v1/stats" var statsurl = "https://invid-api.poketube.fun/api/v1/stats"
const userAgent = window.navigator.userAgent; const userAgent = window.navigator.userAgent;
@ -2044,6 +2045,7 @@ fetch(statsurl + "?browser=" + encodedBrowserName)
</script> </script>
<% } %>
</ptd-app-ejs> </ptd-app-ejs>