Replies: 1 comment 3 replies
-
To get the channel you would do song = {
title: video.title,
url: video.url,
duration: video.durationSeconds,
thumbnail: Object.values(video.thumbnails).pop().url,
author: video.channel.title
}; for a explanation on thumbnail, it gets the values from the object with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On playlist.js:
Does anyone know how to get the thumbnail and channel name on a video in a playlist?
Beta Was this translation helpful? Give feedback.
All reactions