Client
Server
Reference / @open-music-sdk/lib-preview-player / tPreviewable
Defined in: lib/lib-preview-player/src/player.ts:13
A track as the player takes one: any resource, as a client handed it over. What is read is the URL of its first preview, under attributes.previews. A tSong and a tMusicVideo from @open-music-sdk/types have one. A library song has none, and is skipped like any other track without a clip.
readonly optional attributes?: object;Defined in: lib/lib-preview-player/src/player.ts:15
What the resource says of itself. Its previews list is read, and the url of the first preview in it. A track without one is skipped.