fetchPlaylistTracks(listId: string): Promise<YouTubePlaylistTrack[]>
Returns the titles and lengths of the videos of playlist listId, from
GET /api/remote/youtube, since the embed exposes neither.
Promise<YouTubePlaylistTrack[]>
fetchPlaylistTracks(listId: string): Promise<YouTubePlaylistTrack[]>
Returns the titles and lengths of the videos of playlist listId, from
GET /api/remote/youtube, since the embed exposes neither.
Promise<YouTubePlaylistTrack[]>
import { fetchPlaylistTracks } from "src/utils/player/youtube.ts";