fix quality buttons

This commit is contained in:
v4ltages 2022-08-10 22:34:28 +03:00
parent c523c86124
commit 33ed6e3886
No known key found for this signature in database
GPG key ID: 0DC7BC38E0DC642B

View file

@ -240,13 +240,13 @@ border-radius: 5px;
<div class="video-player-container"> <div class="video-player-container">
<video class="player" id="<%=sha384(video.id)%>" style="border-radius: 16px;" autoplay controls src="<%=url%>" poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4"> <video class="player" id="<%=sha384(video.id)%>" style="border-radius: 16px;" autoplay controls src="<%=url%>" poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
</video><img src="https://t.poketube.fun/t/rep.gif?video=<%=btoa(video.id)%>" style="border:0;width: 0;visibility: hidden;" id="video"> </video><img src="https://t.poketube.fun/t/rep.gif?video=<%=btoa(video.id)%>" style="border:0;width: 0;visibility: hidden;" id="video">
<div style=" display: block ruby;column-gap: 0;" align="center"> <div style="display: flex;justify-content: center;align-items: center;flex-direction: row; column-gap: 0;" align="center">
<% if (!qua) { %> <% if (!qua) { %>
<i style="display: block;margin-left: auto;margin-right: auto;" class="fa-solid fa-high-definition"></i> <a href="/watch?v=<%=video.id%>&quality=medium"><i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-standard-definition"></i></a> <i style="display: block;" class="fa-solid fa-high-definition"></i> <a href="/watch?v=<%=video.id%>&quality=medium"><i style="display: block;" class="fa-light fa-standard-definition"></i></a>
<% } %> <% } %>
<% if (qua) { %> <% if (qua) { %>
<a href="/watch?v=<%=video.id%>"> <i style="display: block;margin-left: auto;margin-right: auto;" class="fa-light fa-high-definition"></i> </a> <i style="display: block;margin-left: auto;margin-right: auto;" class="fa-solid fa-standard-definition"></i> <a href="/watch?v=<%=video.id%>"> <i style="display: block;" class="fa-light fa-high-definition"></i> </a> <i style="display: block;" class="fa-solid fa-standard-definition"></i>
<% } %> <% } %>