0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-23 03:35:15 +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);
}
});
// --- 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: {

View file

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