Please be aware there is a known issue with images on the Community. We are working to resolve this issue as quickly as possible. We apologize for the inconvenience. If you need urgent help in the meantime, please reach out to technical support or your Threekit representative.

Getting issue with snapshotAsync Fun

Comments

4 comments

  • William  Thompson
    William Thompson

    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. 

    0
  • vikram_s
    vikram_s

    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;
     });

    0
  • William  Thompson
    William Thompson

    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. 

    0
  • vikram_s
    vikram_s

    Ok let me check once.

    Thanks

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk