mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-30 00:28:42 +01:00
test commit ignore pls
This commit is contained in:
parent
99a59740ae
commit
b0d58a61cb
1 changed files with 3 additions and 17 deletions
|
@ -382,7 +382,7 @@ a[data-onclick="jump_to_time"] {
|
||||||
|
|
||||||
<link href="https://vjs.zencdn.net/7.17.0/video-js.css" rel="stylesheet" />
|
<link href="https://vjs.zencdn.net/7.17.0/video-js.css" rel="stylesheet" />
|
||||||
<script src="https://vjs.zencdn.net/7.17.0/video.min.js"></script>
|
<script src="https://vjs.zencdn.net/7.17.0/video.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/videojs-contrib-dash@latest/dist/videojs-dash.min.js"></script>
|
||||||
<% if (k.Video.Channel.Name == "7clouds") { %>
|
<% if (k.Video.Channel.Name == "7clouds") { %>
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -703,20 +703,6 @@ background-color: #0000;
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
var player = videojs('video');
|
var player = videojs('video');
|
||||||
|
|
||||||
<% if (!qua) { //TODO - a %>
|
|
||||||
|
|
||||||
<%
|
|
||||||
let itag = '136'; // Default itag
|
|
||||||
inv_vid.adaptiveFormats.forEach(format => {
|
|
||||||
if (format.itag == '298') {
|
|
||||||
itag = '298';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
%>
|
|
||||||
player.src([
|
|
||||||
{ type: "video/mp4", src: "<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=<%=itag%>&local=true" },
|
|
||||||
{ type: "audio/mp3", src: "<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=140&local=true" }
|
|
||||||
]);
|
|
||||||
|
|
||||||
|
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
|
@ -1007,7 +993,7 @@ Offical Discord Server! :3
|
||||||
<% if (isvidious) { %>
|
<% if (isvidious) { %>
|
||||||
<% if (!qua) { %>
|
<% if (!qua) { %>
|
||||||
|
|
||||||
<source id="my-spanish-audio-track" src="https://eu-proxy.poketube.fun/latest_version?id=<%=inv_vid.videoId%>&itag=18&local=true" type="audio/ogg">
|
<source src="https://invid-api.poketube.fun/bHj665PpYhUdPWuKPfZuQGoX/api/manifest/dash/id/<%=inv_vid.videoId%>" type="application/dash+xml">
|
||||||
|
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue