A Playlist is a group of 3D models displayed within the Sketchfab viewer. Playlists can be embedded just like a regular model.
You can create a Playlist in two different ways: using a Sketchfab Collection or using a list of models.
Playlists are currently limited to 72 models.
Creating a Playlist from a Collection
To create a Playlist from a Collection, first go to the collection page, for example:
Then, click Embed. Within the Embed pop-up, you'll find the iframe embed code to copy.
For example, the link to a collection playlist from a Collection would look like this:
By default, the models will be sorted chronologically by publish date. The order can be changed by adding the sort_by parameter to the src URL:
-like_countlike_count-view_countview_count-published_atpublished_at
For example to sort by like count, you can edit the URL like this:
You can also use Embed Parameters just like regular model embeds.
You can use the oEmbed API endpoint to programmatically get embed codes and other information.
Private models in a collection will not be displayed.
Example oEmbed request:
https://sketchfab.com/oembed?url=https://sketchfab.com/james/collections/fire-hydrants
Example oEmbed response:
{
"provider_url": "https://sketchfab.com",
"thumbnail_width": 640,
"height": 360,
"thumbnail_height": 429,
"title": "Fire Hydrants",
"author_name": "James",
"author_url": "https://sketchfab.com/james",
"provider_name": "Sketchfab",
"type": "rich",
"version": "1.0",
"width": 640,
"html": "<iframe src=\"https://sketchfab.com/playlists/embed?collection=8061ccceab1f44cf997cfca56c429eb9\"></iframe>"
}
Creating a Playlist from a list of models
Playlists can also be created from arbitrary model IDs separated by "+", like this:
This is the only way to create a Playlist that includes private models.
