mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 02:37:49 +01:00
bwa
This commit is contained in:
parent
e0aa8cd3d5
commit
063d83d851
1 changed files with 20 additions and 3 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,7 +703,24 @@ 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 { %>
|
||||||
|
<% } %>
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</ptd-app-iconfixer>
|
</ptd-app-iconfixer>
|
||||||
|
@ -990,7 +1007,7 @@ Offical Discord Server! :3
|
||||||
<% if (isvidious) { %>
|
<% if (isvidious) { %>
|
||||||
<% if (!qua) { %>
|
<% if (!qua) { %>
|
||||||
|
|
||||||
<source src="/api/manifest/dash/id/<%=inv_vid.videoId%>" type="application/dash+xml">
|
<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">
|
||||||
|
|
||||||
|
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue