Stats for 🤓
- Video id : <%=VideoObject.videoId%>
+ Video id : <%=VideoData.videoId%>
ImmersiveAmbientModecolor: <% if (lightOrDark(color) == "light") { %><%=color%> (color 1)<% } %><% if (lightOrDark(color) == "dark") { %> <%=color2%> (color 2) <% } %>
Video Format :<% if (!qua) { %> 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %>
<% if (qua === "medium") { %> 18 (320p) openh264 (https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz <% } %>
- <% if (VideoObject.genre === "Music") { %>
+ <% if (VideoData.genre === "Music") { %>
Audio Format: ALAC lossless (https://codeberg.org/Ashley/poke/src/branch/main/alac) Audio/ Flac
<% } %>
- <% if (VideoObject.genre !== "Music") { %>
+ <% if (VideoData.genre !== "Music") { %>
Audio Format: Opus - Normalized audio
<% } %>
- PokeTubeEncryptID: <%=sha384(VideoObject.videoId)%>
+ PokeTubeEncryptID: <%=sha384(VideoData.videoId)%>
<% if (isvidious) { %>
Proxy : <%= u.replace("https://","") %> - refresh the page to change the proxy location
@@ -3087,11 +3087,11 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;
Date : <%- Date.now() %> - <%- useragent.os.replace("Linux", "GNU/Linux") %> on <%- useragent.browser %>
<% if (isvidious) { %>
- Mystery text : <%=btoa(VideoObject.videoId + " i " + " lov " + " u " + "mobile "+ u.replace("https://","") ) %>
+ Mystery text : <%=btoa(VideoData.videoId + " i " + " lov " + " u " + "mobile "+ u.replace("https://","") ) %>
<% } %>
<% if (!isvidious) { %>
- Mystery text : <%=btoa(VideoObject.videoId + " i " + " lov " + " u " + "tube-proxy.poketube.fun" ) %>
+ Mystery text : <%=btoa(VideoData.videoId + " i " + " lov " + " u " + "tube-proxy.poketube.fun" ) %>
<% } %>
143 : true
@@ -3127,24 +3127,24 @@ More Epic options owo~
-
Open On YouTube •
Privacy •
Git
+
Open On YouTube •
Privacy •
Git
<% if (optout) { %>
<% } %>
<% if (!optout) { %>
- •
+ •
Opt out of Metrics (
Wut?)
<% } %>
<% if (lyrics && !r) { %>
<% if (optout) { %>
-
Lyrics (Wow)
+
Lyrics (Wow)
<% } %>
<% if (!optout) { %>
-
Lyrics (Wow)
+
Lyrics (Wow)
<% } %>
<% } %>
<% } %>
-
The Connection is secured with ECDSA with SHA-384 Signature Algorithm :3 Click here for encryption info
+
The Connection is secured with ECDSA with SHA-384 Signature Algorithm :3 Click here for encryption info
@@ -3161,7 +3161,7 @@ More Epic options owo~
<% if (r === "f") { %>
- See the Recommended videos instead - Report wrong lyrics qwq
+ See the Recommended videos instead - Report wrong lyrics qwq
@@ -3337,9 +3337,9 @@ More Epic options owo~
<% if (!f) { %>
-<% if (VideoObject.recommendedVideos) { %>
+<% if (VideoData.recommendedVideos) { %>
-<% VideoObject?.recommendedVideos.forEach(x => { %>
+<% VideoData?.recommendedVideos.forEach(x => { %>
<% if (!optout) { %>
<%- turntomins(x.lengthSeconds) || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
@@ -3373,7 +3373,7 @@ More Epic options owo~
<% } %>
<% } %>
- <% if (VideoObject.recommendedVideos.length < 1) { %>
+ <% if (VideoData.recommendedVideos.length < 1) { %>
<% channel_uploads.latestVideos.forEach(x => { %>
<% if (!optout) { %>
<%- turntomins(x.lengthSeconds) || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
@@ -3423,7 +3423,7 @@ More Epic options owo~
<%= x.Title %>
<% } %>
@@ -3475,7 +3475,7 @@ More Epic options owo~
navigator.share({
title: document.title,
text: "",
- url: "https://" + window.location.hostname + "/<%=VideoObject.videoId%>?piwik_si=mobile_share"
+ url: "https://" + window.location.hostname + "/<%=VideoData.videoId%>?piwik_si=mobile_share"
})
.then(() => console.log('Successful share'))
.catch(error => console.log('Error sharing:', error));
@@ -3493,12 +3493,12 @@ document.addEventListener('DOMContentLoaded', () => {
if ('mediaSession' in navigator) {
// Set metadata
navigator.mediaSession.metadata = new MediaMetadata({
- title: "<%- VideoObject.title %>",
- artist: "<%= video?.Channel?.Name || VideoObject.author %>",
+ title: "<%- VideoData.title %>",
+ artist: "<%= video?.Channel?.Name || VideoData.author %>",
album: "Poke",
artwork: [
{
- src: "https://i.ytimg.com/vi/<%=VideoObject.videoId%>/maxresdefault.jpg",
+ src: "https://i.ytimg.com/vi/<%=VideoData.videoId%>/maxresdefault.jpg",
sizes: "1280x720",
type: "image/jpeg"
}
@@ -3600,7 +3600,7 @@ checkbox.addEventListener('change', function(e) {
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
function autoplaynextvideo(e) {
- location.href = "/watch?v=<%- VideoObject?.recommendedVideos[0].videoId%>&autoplay=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + VideoObject?.recommendedVideos[0].videoId) %>"
+ location.href = "/watch?v=<%- VideoData?.recommendedVideos[0].videoId%>&autoplay=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + VideoData?.recommendedVideos[0].videoId) %>"
}
}
@@ -3620,7 +3620,7 @@ if (/[?&]autoplay=/.test(location.search)) {
document.getElementById('video').addEventListener('ended',autoplaynextvideo,false);
function autoplaynextvideo(e) {
- location.href = "/watch?v=<%- VideoObject?.recommendedVideos[0].videoId%>&autoplay=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + VideoObject?.recommendedVideos[0].videoId) %>"
+ location.href = "/watch?v=<%- VideoData?.recommendedVideos[0].videoId%>&autoplay=<%-btoa("1f739d935676111cfff4b4693e3816e664797050" + VideoData?.recommendedVideos[0].videoId) %>"
}
}
var anchor = document.getElementById("sub");
@@ -3630,7 +3630,7 @@ var userID = localStorage.getItem("UserID");
if (userID) {
// If user ID exists in localStorage, set the href attribute
- anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=VideoObject.author%>&avatar=<%- proxyurl %>/<%= VideoObject.authorThumbnails[1].url %>&channelID=<%=video?.Channel.id || VideoObject.authorId %>`;
+ anchor.href = `/api/set-channel-subs?ID=${userID}&channelName=<%=VideoData.author%>&avatar=<%- proxyurl %>/<%= VideoData.authorThumbnails[1].url %>&channelID=<%=video?.Channel.id || VideoData.authorId %>`;
} else {
// If user ID doesn't exist in localStorage, you can handle it as needed
anchor.href = "/account-create"