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:
parent
3737eb9b7a
commit
e7453f862e
2 changed files with 11 additions and 4 deletions
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue