0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-26 21:23:02 +00:00

feat: tweetmoji and comments (neither works yet)

This commit is contained in:
Alex 2022-04-07 19:32:24 +12:00
parent 3737eb9b7a
commit e7453f862e
2 changed files with 11 additions and 4 deletions

View file

@ -115,6 +115,12 @@ export default {
this.$router.push(slug.pathname + slug.search); this.$router.push(slug.pathname + slug.search);
} }
}); });
// --- Import Twemoji ---///
const plugin = document.createElement("script");
plugin.setAttribute("src", "//twemoji.maxcdn.com/v/latest/twemoji.min.js");
plugin.setAttribute("crossorigin", "anonymous");
document.head.appendChild(plugin);
}, },
methods: { methods: {

View file

@ -322,10 +322,11 @@ class Innertube {
.continuationItemRenderer?.continuationEndpoint.continuationCommand .continuationItemRenderer?.continuationEndpoint.continuationCommand
.token, .token,
}, },
// commentData: engagementPanels: responseNext.engagementPanels,
// responseNext?.frameworkUpdates?.entityBatchUpdate?.mutations?.find( commentData: columnUI.contents.find(
// (mutations) => mutations.payload?.commentHeaderEntityPayload (content) =>
// ).payload.commentHeaderEntityPayload, content.itemSectionRenderer?.contents.commentsEntryPointHeaderRenderer
)?.itemSectionRenderer.contents.commentsEntryPointHeaderRenderer,
playbackTracking: responseInfo.playbackTracking, playbackTracking: responseInfo.playbackTracking,
}; };