mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 09:47:22 +01:00
yes
This commit is contained in:
parent
9eb2856b12
commit
a6e6abc78e
1 changed files with 14 additions and 4 deletions
|
@ -243,11 +243,14 @@ 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://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
<video class="player" id="<%=sha384(video.id)%>" style="border-radius: 16px;" autoplay controls src="<%=url%>" poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
||||||
|
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
||||||
|
|
||||||
<% if ( video.Subtitles.Subtitle) { %>
|
<% if ( video.Subtitles.Subtitle) { %>
|
||||||
|
|
||||||
<% video.Subtitles.Subtitle.forEach(x => { %><track src="/api/subtitles?v=<%=video.id%>&h=<%= x.language %>" label="<%= x.language %>" kind="subtitles">
|
<% video.Subtitles.Subtitle.forEach(x => { %><track src="/api/subtitles?v=<%=video.id%>&h=<%= x.language %>" label="<%= x.language %>" kind="subtitles">
|
||||||
<% }) %>
|
<% }) %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
</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: flex;justify-content: center;align-items: center;flex-direction: row; column-gap: 3px;" align="center">
|
<div style="display: flex;justify-content: center;align-items: center;flex-direction: row; column-gap: 3px;" align="center">
|
||||||
|
@ -688,6 +691,14 @@ summary:hover{
|
||||||
<div class="primary">
|
<div class="primary">
|
||||||
<div class="video-player-container">
|
<div class="video-player-container">
|
||||||
<video class="player" autoplay style="border-radius: 16px;" controls src="<%=url%>" poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
|
<video class="player" autoplay style="border-radius: 16px;" controls src="<%=url%>" poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
|
||||||
|
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
||||||
|
|
||||||
|
<% if ( video.Subtitles.Subtitle) { %>
|
||||||
|
|
||||||
|
<% video.Subtitles.Subtitle.forEach(x => { %><track src="/api/subtitles?v=<%=video.id%>&h=<%= x.language %>" label="<%= x.language %>" kind="subtitles">
|
||||||
|
<% }) %>
|
||||||
|
<% } %>
|
||||||
|
<% } %>
|
||||||
</video>
|
</video>
|
||||||
</div>
|
</div>
|
||||||
<div class="video-info">
|
<div class="video-info">
|
||||||
|
@ -879,4 +890,3 @@ summary:hover{
|
||||||
</html>
|
</html>
|
||||||
</body>
|
</body>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue