Discussions

Ask a Question
Back to All

Embed on Wix not working

Hello, I had added the D-ID agent embed code to the "Custom code" section of WIX, and this used to work but the agent is no longer showing, and I now see errors if I inspect the page on chrome.

Here are the three error's I now see:

  1. index.js:20385 Uncaught TypeError: Cannot assign to read only property 'setTimeout' of object '#'
    at Pe (index.js:20385:44)
    at Object.setupOnce (index.js:24993:23)
    at Zg (index.js:22833:90)
    at index.js:22821:10
    at Array.forEach ()
    at BI (index.js:22820:12)
    at zw._setupIntegrations (index.js:23041:26)
    at zw.init (index.js:22975:31)
    at HI (index.js:23274:12)
    at zb (index.js:25268:3)
  2. about:378 TypeError: Wt(...).isOlderThan is not a function
    at Bt (hub.ts:550:65)
    at sdk.ts:19:15
    at t.init (sdk.ts:96:3)
    at a.init (about:378:345)
    at B (about:378:640)
    at HTMLScriptElement. (about:378:351)
  3. hub.ts:550 Uncaught (in promise) TypeError: Wt(...).isOlderThan is not a function
    at Bt (hub.ts:550:65)
    at Jt (index.ts:23:15)
    at t.configureScope (index.ts:94:3)
    at _e (index.ts:106:16)
    at Ee (createLogger.ts:87:17)
    at async client.ts:101:8

Do you have an embed code that could alleviate these errors and work again on a WIX site?