[Component View] ReferenceError: JsMediaSDK_Instance is not defined

Description
When trying to join a meeting using the component View, I get the below error:

Browser Console Error

Uncaught ReferenceError: JsMediaSDK_Instance is not defined
    at qn.getPTZCapability (zoomus-websdk-embedded.umd.min.js:2:136000)
    at WQ (zoomus-websdk-embedded.umd.min.js:2:326169)
    at TO (zoomus-websdk-embedded.umd.min.js:2:325968)
    at zoomus-websdk-embedded.umd.min.js:2:327189
    at n.project (zoomus-websdk-embedded.umd.min.js:2:327747)
    at n._next (zoomus-websdk-embedded.umd.min.js:2:45956)
    at n.next (zoomus-websdk-embedded.umd.min.js:2:10729)
    at n._next (zoomus-websdk-embedded.umd.min.js:2:37158)
    at n.next (zoomus-websdk-embedded.umd.min.js:2:10729)
    at n._next (zoomus-websdk-embedded.umd.min.js:2:50757)

Which Web Meeting SDK version?
2.11.0

Meeting SDK Code Snippets

const { default: zoomSDK } = await import('@zoomus/websdk/embedded')
const client = zoomSDK.createClient()
await client.init({
  debug: true,
  zoomAppRoot: document.getElementById('zoomMeeting') ?? undefined,
  language: 'en-US',
})
await client.join({
  sdkKey: zoomSdkKey,
  meetingNumber: id,
  password,
  userName: name,
  signature: (
    await $fetch<{ signature: string }>(zoomSignatureEndpoint, {
      method: 'POST',
      body: {
        meetingNumber: id,
        role: 0,
      },
    })
  ).signature,
})

Screenshots

Device (please complete the following information):

  • Device: Dell Latitude E7270
  • OS: Ubuntu 22.04.2 LTS
  • Browser: Chrome (through Electron.js)
  • Browser Version: 110.0.5481.208

Additional context
I’m using a combination of Electron, Nuxt, Vue and Vite.

@manoah.tervoort Hope you will be fine.

Here are the sessions regarding WebSDK Integrations

That doesn’t solve my problem. The VueJS example is for Vue 2. I’ve got it working for Vue 2. The problem is Vue 3, which uses Vite instead of Webpack.

the last info for supporting Vite a have found was from May 2022

"Welcome and thank you for posting. I do not see any vite/rollup on the road map at this time. "

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.