Articles in this section

Playlists

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

You can create a Playlist from a Collection by clicking Embed on the Collection page. Within the Embed pop-up, you'll find the iframe embed code.

Hi i have found a better way to embead all my model in my portfolio gallery, you can check it at http://andreadev.wiregaming.it/?page_id=511 this is a plugin developed by a friend programmer, he is working at and making a wordpress plugin for it that allow you to embed all your models just putting in the settings your profile id, and the magic will happens...if someone want this plugin let me know at andreapomposelli@gmail.com so i can advice you when it's published. Have a nice day, i hope this can help someone as it helped me.

Quick question about Playlists... is there anyway of making the object descriptions visible? We have descriptions of all our objects, but as far as I can see, they don't display (or even have a 'click to see description') option?

I think this is a great feature but I ran across the limitation that it doesn't support the same URL parameters as embedding models does. Hiding the name and some controls i.e. doesn't work with playlists. I posted this on a very old forum Post but it may better suit here. It would be a great improvement imo.

This is awesome. is there a way to have the next item in the playlist asynchronously load in the background while the viewer is looking at the current model? I’m looking for a way to have an instantaneous switch to the next item...

@spiraloid there's not much customization possible with the native Playlist feature, but you could use the Viewer API to make a more robust gallery/playlist tool https://sketchfab.com/developers/viewer

Any tries to directly alter the iframe is ofcourse met with CORS errors.

What I am trying to do is hide/alter the way the playlist at the bottom works and pre-load all items in a playlist for instantaneous change of current model. This is all done for a kiosk-mode computer where visitors can freely jump between what model is shown.

Right now we have a ugly hack that loads an individual embedded iframe per model and we show/hide them with JS, but are running into max RAM usage per tab errors in Chrome and "Too many active WebGL contexts", so I would like to just load one iframe with all models.

Sorry for any confusion. The Viewer API is not intended to work with embedded playlists, and it's not on our roadmap to implement it.

When I suggested using the Viewer API, I meant to use a single iframe and load one model at a time (you can re-initialize the iframe with a new model using the API). Maybe you could have just 2 or 3 iframes to preload the next and previous models, rather that loading ALL the iframes - that's going to be a huge performance issue for your page.

The problem is that there is about 8-9 models and the visitors can choose anyone at any time, so all needs to be loaded.

I tried using the Viewer API to swap models but since all I could do was swapping the ID in the src of the iframe, and the browser didn't cache the downloaded model between swaps it had to load each time another model was chosen.

Then I suppose we hafta go with our Plan A and just double the RAM in the computer to 32GB, that seems to work on some other machines uses for deving...