mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 22:29:03 +01:00
Have to use the indevlious proxy for now
This commit is contained in:
parent
55f3db380e
commit
ee82798c84
1 changed files with 39 additions and 2 deletions
|
@ -305,7 +305,26 @@
|
||||||
<div class="primary">
|
<div class="primary">
|
||||||
|
|
||||||
<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
|
||||||
|
|
||||||
|
poster="https://p.poketube.fun/https://i.ytimg.com/vi/<%=video.id%>/maxresdefault.jpg?v=607ddcd4">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<% if (!qua) { %>
|
||||||
|
|
||||||
|
|
||||||
|
<source src="https://inv.vern.cc/latest_version?id=<%=video.id%>&itag=22&local=true" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="false">
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (qua === "medium") { %>
|
||||||
|
|
||||||
|
<source src="https://inv.vern.cc/latest_version?id=<%=video.id%>&itag=18&local=true" type="video/mp4; codecs="avc1.42001E, mp4a.40.2"" label="medium" selected="false">
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<% if ( video.Subtitles.Subtitle) { %>
|
<% if ( video.Subtitles.Subtitle) { %>
|
||||||
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
||||||
|
@ -1328,7 +1347,25 @@ padding: 3px;
|
||||||
<div class="mobile-page">
|
<div class="mobile-page">
|
||||||
<div class="primary">
|
<div class="primary">
|
||||||
<div class="video-player-container" style="background-color:#000">
|
<div class="video-player-container" style="background-color:#000">
|
||||||
<video class="player" autoplay style="border-radius: 6px;" controls src="<%=url%>" poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
|
<video class="player" autoplay style="border-radius: 6px;" controls poster="https://i.ytimg.com/vi/<%=video.id%>/hqdefault.jpg?v=607ddcd4">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<% if (!qua) { %>
|
||||||
|
|
||||||
|
|
||||||
|
<source src="https://inv.vern.cc/latest_version?id=<%=video.id%>&itag=22&local=true" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="false">
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% if (qua === "medium") { %>
|
||||||
|
|
||||||
|
<source src="https://inv.vern.cc/latest_version?id=<%=video.id%>&itag=18&local=true" type="video/mp4; codecs="avc1.42001E, mp4a.40.2"" label="medium" selected="false">
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
<% if (Array.isArray( video.Subtitles.Subtitle)) { %>
|
||||||
|
|
||||||
<% if ( video.Subtitles.Subtitle) { %>
|
<% if ( video.Subtitles.Subtitle) { %>
|
||||||
|
|
Loading…
Reference in a new issue