mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 02:37:49 +01:00
Update html/poketube.ejs
This commit is contained in:
parent
deeec99d62
commit
5b57061be1
1 changed files with 3 additions and 25 deletions
|
@ -1056,15 +1056,7 @@ Offical Discord Server! :3
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<% } %>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="buffer-failed-warning" class="error-card">
|
|
||||||
<p>
|
|
||||||
Oh no, the video couldn't be loaded :(
|
|
||||||
<br/>
|
|
||||||
You can try refreshing the page!
|
|
||||||
<br/>
|
|
||||||
<span></span>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<video class="video-js player video-ambient-container" id="video" style="border-radius: 16px; box-sizing: border-box; min-width: 100%; display: block;" autoplay preload">
|
<video class="video-js player video-ambient-container" id="video" style="border-radius: 16px; box-sizing: border-box; min-width: 100%; display: block;" autoplay preload">
|
||||||
<% if (isvidious) { %>
|
<% if (isvidious) { %>
|
||||||
<% if (!qua) { %>
|
<% if (!qua) { %>
|
||||||
|
@ -1078,7 +1070,7 @@ Offical Discord Server! :3
|
||||||
%>
|
%>
|
||||||
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=<%=itag%>&local=true" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="true"">
|
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=<%=itag%>&local=true" type="video/mp4; codecs="avc1.64001F, mp4a.40.2"" label="hd720" selected="true"">
|
||||||
<% if (!qua) { //TODO - a %>
|
<% if (!qua) { //TODO - a %>
|
||||||
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=140&local=true" type="video/mp4" />
|
<source src="<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=140&local=true" type="audio/ogg" />
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
@ -1120,21 +1112,7 @@ Offical Discord Server! :3
|
||||||
<track src="/api/subtitles?v=<%=inv_vid.videoId%>&h=<%= %>" label="<%= video.Subtitles.Subtitle.language.replace("United States","Simplified - USA") %>" kind="subtitles">
|
<track src="/api/subtitles?v=<%=inv_vid.videoId%>&h=<%= %>" label="<%= video.Subtitles.Subtitle.language.replace("United States","Simplified - USA") %>" kind="subtitles">
|
||||||
<% } %>
|
<% } %>
|
||||||
</video>
|
</video>
|
||||||
<div id="controls"> <!-- TODO: CONTROLS -->
|
|
||||||
<button id="play-pause" class="control-button">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>play-circle-outline</title><path d="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M10,16.5L16,12L10,7.5V16.5Z" /></svg>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<div id="seekbar">
|
|
||||||
<input type="range" min="0" step="any" value="0" id="duration-slider">
|
|
||||||
</div>
|
|
||||||
<p id="timestamps">...</p>
|
|
||||||
<!--
|
|
||||||
<div>
|
|
||||||
<span>volume</span>
|
|
||||||
<input type="range" min="0" max="1" step="any" value="1" id="volume-slider">
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<% if (!a) { %>
|
<% if (!a) { %>
|
||||||
|
|
Loading…
Reference in a new issue