Can parameters be added to a private model playlist?

I have created a private model playlist and would like to play with the settings of the viewer api parameters. Is that possible? If so, what would the syntax / construct be?

Hi @abakker !

To embed a private playlist, you must pass the models uid individually like so:
https://sketchfab.com/playlists/embed?models=46b6d0548ee046fd84f92fe12ac2b70e+7ad77ffcaee6407687d0a80efb3d2363

Notice how the models uids are passed in a parameter ?models= and separated with a + sign:

?models=46b6d0548ee046fd84f92fe12ac2b70e+7ad77ffcaee6407687d0a80efb3d2363

You can then add your viewer parameter with &, for example:

?models=46b6d0548ee046fd84f92fe12ac2b70e+7ad77ffcaee6407687d0a80efb3d2363&autostart=1&autospin=0.4

Here is a codepen I made to showcase how to use annotations cycle in a private collection:

The viewer parameters you can add the collection are the same that you can add to the models individually. This means that you need a paid plan to access paid features.

Feel free to ask any follow up questions if something wasn’t clear.

Cheers,

Tiago

2 Likes

But also, playlists are not currently compatible with the Viewer API.

1 Like