Getting issue with snapshotAsync Fun
Hi William Thompson,
I am trying to call the snapshotAsync() function but getting an error. please check the screenshot.
Please suggest me.
Thanks
Hi William Thompson,
I am trying to call the snapshotAsync() function but getting an error. please check the screenshot.
Please suggest me.
Thanks
<%= block.description %>
<% } %>
Comments
4 comments
Hi Vikram, can you confirm that your player API is available at window.threekit.player? I just tested your code and your syntax seems okay, which makes me believe your API may not be available there.
Sorry, I'm a little confused. Yes we are using and item is loading in the player:

window.threekit
.init({
el: 'player-root',
onSelectionChange: this.handleItemSelection,
})
.then(() => {
//expose these directly on window for dev convenience
window.api = window.threekit.api;
window.configurator = window.threekit.configurator;
});
If your player API is located at window.threekit.api I believe you will have to use window.threekit.api.snapshotAsync(). If that doesn't work please send me a link to the embed and I will investigate.
Ok let me check once.
Thanks
Please sign in to leave a comment.