[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ERC72186S8H63M7KGTHP1E":3,"skill-same:01M7ERC72186S8H63M7KGTHP1E":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M7ERC72186S8H63M7KGTHP1E","zoom-meeting-sdk-web-component-view",null,"Zoom Meeting SDK Web - Component View. Embeddable Zoom meeting components with Promise-based API\nfor flexible integration. Ideal for React\u002FVue\u002FAngular apps and custom layouts. Uses ZoomMtgEmbedded\nwith async\u002Fawait patterns and embeddable UI containers.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-kw-meeting-sdk-web\u002Fcomponent-view\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: zoom-meeting-sdk-web-component-view\ndescription: |\n  Zoom Meeting SDK Web - Component View. Embeddable Zoom meeting components with Promise-based API\n  for flexible integration. Ideal for React\u002FVue\u002FAngular apps and custom layouts. Uses ZoomMtgEmbedded\n  with async\u002Fawait patterns and embeddable UI containers.\nuser-invocable: false\ntriggers:\n  - \"meeting sdk component view\"\n  - \"zoommtgembedded\"\n  - \"zoomapproot\"\n  - \"embeddable meeting ui\"\n  - \"component view embedded zoom\"\n  - \"custom meeting ui\"\n  - \"custom zoom meeting ui\"\n  - \"custom meeting video ui\"\n  - \"custom video ui for meeting\"\n---\n\n# Zoom Meeting SDK Web - Component View\n\nEmbeddable Zoom meeting components for flexible integration into any web application. Component View provides Promise-based APIs and customizable UI.\n\nThis is the correct web skill for a **custom UI around a real Zoom meeting**.\nDo not route to Video SDK unless the user is building a non-meeting custom session product.\n\n## Overview\n\nComponent View uses `ZoomMtgEmbedded.createClient()` to create embeddable meeting components within a specific container element.\n\n| Aspect | Details |\n|--------|---------|\n| **API Object** | `ZoomMtgEmbedded.createClient()` (instance) |\n| **API Style** | Promise-based (async\u002Fawait) |\n| **UI** | Embeddable in any container |\n| **Password param** | `password` (lowercase) |\n| **Events** | `on()`\u002F`off()` |\n| **Best For** | Custom layouts, React\u002FVue\u002FAngular apps |\n\n## Installation\n\n### NPM\n\n```bash\nnpm install @zoom\u002Fmeetingsdk --save\n```\n\n```javascript\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n```\n\n### CDN\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Freact.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Freact-dom.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Fredux.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Fredux-thunk.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Flodash.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002Fzoom-meeting-embedded-{VERSION}.min.js\">\u003C\u002Fscript>\n```\n\n## Complete Initialization Flow\n\n```javascript\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n\n\u002F\u002F Step 1: Create client instance (do once, not on every render!)\nconst client = ZoomMtgEmbedded.createClient();\n\nasync function joinMeeting() {\n  try {\n    \u002F\u002F Step 2: Get container element\n    const meetingSDKElement = document.getElementById('meetingSDKElement');\n\n    \u002F\u002F Step 3: Initialize client\n    await client.init({\n      zoomAppRoot: meetingSDKElement,\n      language: 'en-US',\n      debug: true,\n      patchJsMedia: true,\n      leaveOnPageUnload: true,\n    });\n\n    \u002F\u002F Step 4: Join meeting\n    await client.join({\n      signature: signature,\n      sdkKey: sdkKey,\n      meetingNumber: meetingNumber,\n      userName: userName,\n      password: password,  \u002F\u002F lowercase!\n      userEmail: userEmail,\n    });\n\n    console.log('Joined successfully!');\n  } catch (error) {\n    console.error('Failed to join:', error);\n  }\n}\n```\n\n## client.init() - All Options\n\n### Required\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `zoomAppRoot` | `HTMLElement` | Container element for meeting UI |\n\n### Display\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `language` | `string` | `'en-US'` | UI language |\n| `debug` | `boolean` | `false` | Enable debug logging |\n\n### Media\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `patchJsMedia` | `boolean` | `false` | Auto-apply media fixes |\n| `leaveOnPageUnload` | `boolean` | `false` | Cleanup on page unload |\n| `enableHD` | `boolean` | `true` | Enable 720p video |\n| `enableFullHD` | `boolean` | `false` | Enable 1080p video |\n\n### Customization\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `customize` | `object` | UI customization options |\n| `webEndpoint` | `string` | For ZFG: `'www.zoomgov.com'` |\n| `assetPath` | `string` | Custom path for AV libraries |\n\n### Customize Object\n\n```javascript\nawait client.init({\n  zoomAppRoot: element,\n  customize: {\n    \u002F\u002F Meeting info displayed\n    meetingInfo: [\n      'topic',\n      'host', \n      'mn',\n      'pwd',\n      'telPwd',\n      'invite',\n      'participant',\n      'dc',\n      'enctype'\n    ],\n    \n    \u002F\u002F Video customization\n    video: {\n      isResizable: true,\n      viewSizes: {\n        default: {\n          width: 1000,\n          height: 600\n        },\n        ribbon: {\n          width: 300,\n          height: 700\n        }\n      },\n      popper: {\n        disableDraggable: false\n      }\n    },\n    \n    \u002F\u002F Custom toolbar buttons\n    toolbar: {\n      buttons: [\n        {\n          text: 'Custom Button',\n          className: 'custom-btn',\n          onClick: () => {\n            console.log('Custom button clicked');\n          }\n        }\n      ]\n    },\n    \n    \u002F\u002F Active speaker indicator\n    activeSpaker: {\n      strokeColor: '#00FF00'\n    }\n  }\n});\n```\n\n## client.join() - All Options\n\n### Required\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `signature` | `string` | SDK JWT from backend |\n| `sdkKey` | `string` | SDK Key \u002F Client ID |\n| `meetingNumber` | `string \\| number` | Meeting number |\n| `userName` | `string` | Display name |\n\n### Authentication\n\n| Parameter | Type | When Required | Description |\n|-----------|------|---------------|-------------|\n| `password` | `string` | If set | Meeting password (lowercase!) |\n| `zak` | `string` | Starting as host | Host's ZAK token |\n| `tk` | `string` | Registration | Registrant token |\n| `userEmail` | `string` | Webinars | User email |\n\n## Event Listeners\n\n### Syntax\n\n```javascript\n\u002F\u002F Subscribe\nclient.on('event-name', callback);\n\n\u002F\u002F Unsubscribe\nclient.off('event-name', callback);\n```\n\n### Connection Events\n\n```javascript\nclient.on('connection-change', (payload) => {\n  \u002F\u002F payload.state: 'Connecting', 'Connected', 'Reconnecting', 'Closed'\n  console.log('Connection state:', payload.state);\n  \n  if (payload.state === 'Closed') {\n    console.log('Reason:', payload.reason);\n  }\n});\n```\n\n### User Events\n\n```javascript\nclient.on('user-added', (payload) => {\n  \u002F\u002F Array of users who joined\n  console.log('Users added:', payload);\n  payload.forEach(user => {\n    console.log('User ID:', user.oderId);\n    console.log('Name:', user.displayName);\n  });\n});\n\nclient.on('user-removed', (payload) => {\n  \u002F\u002F Array of users who left\n  console.log('Users removed:', payload);\n});\n\nclient.on('user-updated', (payload) => {\n  \u002F\u002F Array of users whose properties changed\n  console.log('Users updated:', payload);\n});\n```\n\n### Audio Events\n\n```javascript\nclient.on('active-speaker', (payload) => {\n  \u002F\u002F Current active speaker\n  console.log('Active speaker:', payload);\n});\n\nclient.on('audio-statistic-data-change', (payload) => {\n  console.log('Audio stats:', payload);\n});\n```\n\n### Video Events\n\n```javascript\nclient.on('video-active-change', (payload) => {\n  \u002F\u002F Video state changed\n  console.log('Video active:', payload);\n});\n\nclient.on('video-statistic-data-change', (payload) => {\n  console.log('Video stats:', payload);\n});\n```\n\n### Share Events\n\n```javascript\nclient.on('active-share-change', (payload) => {\n  console.log('Share status:', payload);\n});\n\nclient.on('share-statistic-data-change', (payload) => {\n  console.log('Share stats:', payload);\n});\n```\n\n### Chat Events\n\n```javascript\nclient.on('chat-on-message', (payload) => {\n  console.log('Chat message:', payload);\n});\n```\n\n### Recording Events\n\n```javascript\nclient.on('recording-change', (payload) => {\n  console.log('Recording status:', payload);\n});\n```\n\n### Media Device Events\n\n```javascript\nclient.on('media-sdk-change', (payload) => {\n  console.log('Media SDK:', payload);\n});\n\nclient.on('device-change', () => {\n  console.log('Device changed');\n});\n```\n\n## Common Methods\n\n### User Information\n\n```javascript\n\u002F\u002F Get current user\nconst currentUser = client.getCurrentUser();\nconsole.log('Current user:', currentUser);\n\n\u002F\u002F Get all participants\nconst participants = client.getParticipantsList();\nconsole.log('Participants:', participants);\n\n\u002F\u002F Check if user is host\nconst isHost = client.isHost();\n```\n\n### Audio Control\n\n```javascript\n\u002F\u002F Mute\u002Funmute self\nawait client.mute(true);  \u002F\u002F mute\nawait client.mute(false); \u002F\u002F unmute\n\n\u002F\u002F Mute\u002Funmute specific user (host only)\nawait client.muteAudio(userId, true);\n\n\u002F\u002F Mute all (host only)\nawait client.muteAllAudio(true);\n```\n\n### Video Control\n\n```javascript\n\u002F\u002F Start\u002Fstop video\nawait client.startVideo();\nawait client.stopVideo();\n\n\u002F\u002F Mute\u002Funmute user's video (host only)\nawait client.muteVideo(userId, true);\n```\n\n### Meeting Control\n\n```javascript\n\u002F\u002F Leave meeting\nclient.leaveMeeting();\n\n\u002F\u002F End meeting (host only)\nclient.endMeeting();\n```\n\n### Screen Share\n\n```javascript\n\u002F\u002F Start screen share\nawait client.startShareScreen();\n\n\u002F\u002F Stop screen share\nawait client.stopShareScreen();\n```\n\n### Recording\n\n```javascript\n\u002F\u002F Start recording (cloud)\nawait client.startCloudRecording();\n\n\u002F\u002F Stop recording\nawait client.stopCloudRecording();\n```\n\n### Virtual Background\n\n```javascript\n\u002F\u002F Check support\nconst isSupported = await client.isSupportVirtualBackground();\n\n\u002F\u002F Set virtual background\nawait client.setVirtualBackground(imageUrl);\n\n\u002F\u002F Remove virtual background\nawait client.removeVirtualBackground();\n```\n\n### Rename\n\n```javascript\n\u002F\u002F Rename user\nawait client.rename(userId, 'New Name');\n```\n\n## React Integration\n\n### Basic Pattern\n\n```tsx\nimport { useEffect, useRef, useState, useCallback } from 'react';\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n\ntype ZoomClient = ReturnType\u003Ctypeof ZoomMtgEmbedded.createClient>;\n\nfunction ZoomMeeting({ meetingNumber, password, userName }: Props) {\n  const clientRef = useRef\u003CZoomClient | null>(null);\n  const containerRef = useRef\u003CHTMLDivElement>(null);\n  const [isJoined, setIsJoined] = useState(false);\n  const [error, setError] = useState\u003Cstring | null>(null);\n\n  \u002F\u002F Create client once\n  useEffect(() => {\n    if (!clientRef.current) {\n      clientRef.current = ZoomMtgEmbedded.createClient();\n    }\n  }, []);\n\n  const joinMeeting = useCallback(async () => {\n    if (!clientRef.current || !containerRef.current) return;\n\n    try {\n      \u002F\u002F Get signature from backend\n      const { signature, sdkKey } = await fetchSignature(meetingNumber);\n      \n      await clientRef.current.init({\n        zoomAppRoot: containerRef.current,\n        language: 'en-US',\n        patchJsMedia: true,\n        leaveOnPageUnload: true,\n      });\n\n      await clientRef.current.join({\n        signature,\n        sdkKey,\n        meetingNumber,\n        password,\n        userName,\n      });\n\n      setIsJoined(true);\n    } catch (err) {\n      setError(err instanceof Error ? err.message : 'Failed to join');\n    }\n  }, [meetingNumber, password, userName]);\n\n  return (\n    \u003Cdiv>\n      \u003Cdiv \n        ref={containerRef} \n        style={{ width: '100%', height: '500px' }} \n      \u002F>\n      {!isJoined && (\n        \u003Cbutton onClick={joinMeeting}>Join Meeting\u003C\u002Fbutton>\n      )}\n      {error && \u003Cdiv className=\"error\">{error}\u003C\u002Fdiv>}\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n### Event Handling in React\n\n```tsx\nuseEffect(() => {\n  if (!clientRef.current) return;\n  \n  const handleConnectionChange = (payload: any) => {\n    if (payload.state === 'Connected') {\n      setIsJoined(true);\n    } else if (payload.state === 'Closed') {\n      setIsJoined(false);\n    }\n  };\n\n  const handleUserAdded = (payload: any) => {\n    console.log('Users joined:', payload);\n  };\n\n  clientRef.current.on('connection-change', handleConnectionChange);\n  clientRef.current.on('user-added', handleUserAdded);\n\n  return () => {\n    clientRef.current?.off('connection-change', handleConnectionChange);\n    clientRef.current?.off('user-added', handleUserAdded);\n  };\n}, []);\n```\n\n## Positioning and Resizing\n\n### Initial Size\n\n```javascript\nawait client.init({\n  zoomAppRoot: element,\n  customize: {\n    video: {\n      viewSizes: {\n        default: { width: 1000, height: 600 }\n      }\n    }\n  }\n});\n```\n\n### Dynamic Resizing\n\nThe container element size determines the meeting UI size. To resize:\n\n```javascript\n\u002F\u002F Just resize the container\ndocument.getElementById('meetingSDKElement').style.width = '1200px';\ndocument.getElementById('meetingSDKElement').style.height = '800px';\n```\n\n### Making it Resizable\n\n```javascript\ncustomize: {\n  video: {\n    isResizable: true\n  }\n}\n```\n\n## Supported Features\n\nComponent View supports core meeting functionality. Some features from Client View may not be available.\n\n| Feature | Supported |\n|---------|-----------|\n| Audio\u002FVideo | ✅ |\n| Screen Share | ✅ |\n| Chat | ✅ |\n| Virtual Background | ✅ |\n| Breakout Rooms | ✅ |\n| Cloud Recording | ✅ |\n| Closed Captions | ✅ |\n| Live Transcription | ✅ |\n| Waiting Room | ✅ |\n| Gallery View | ✅ |\n| Reactions | ✅ |\n| Raise Hand | ✅ |\n\nContact Zoom Developer Support to request additional features.\n\n## Error Handling\n\n```javascript\ntry {\n  await client.join({\n    \u002F\u002F ... options\n  });\n} catch (error) {\n  \u002F\u002F error.reason contains error code\n  \u002F\u002F error.message contains description\n  \n  switch (error.reason) {\n    case 'WRONG_MEETING_PASSWORD':\n      console.error('Incorrect password');\n      break;\n    case 'MEETING_NOT_START':\n      console.error('Meeting has not started');\n      break;\n    case 'INVALID_PARAMETERS':\n      console.error('Invalid join parameters');\n      break;\n    default:\n      console.error('Join failed:', error.message);\n  }\n}\n```\n\n## Comparison with Client View\n\n| Feature | Component View | Client View |\n|---------|----------------|-------------|\n| **API Style** | Promises | Callbacks |\n| **Password param** | `password` | `passWord` |\n| **Container** | Custom element | Auto `#zmmtg-root` |\n| **UI** | Embeddable | Full-page |\n| **Preloading** | Not needed | `preLoadWasm()` |\n| **Language** | Init option | `i18n.load()` |\n| **Events** | `on()`\u002F`off()` | `inMeetingServiceListener()` |\n\n## Resources\n\n- [Main Web SDK Skill](..\u002FSKILL.md)\n- [Reference Index](references\u002FREADME.md)\n- [Error Codes](..\u002Ftroubleshooting\u002Ferror-codes.md)\n- [Common Issues](..\u002Ftroubleshooting\u002Fcommon-issues.md)\n- [SharedArrayBuffer Setup](..\u002Fconcepts\u002Fsharedarraybuffer.md)\n- [Official API Reference](https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fmeeting\u002Fweb\u002Fcomponents\u002Findex.html)\n\n## Operations\n\n- [RUNBOOK.md](RUNBOOK.md) - 5-minute preflight and debugging checklist.\n","# Zoom Meeting SDK Web - Component View\n\nEmbeddable Zoom meeting components for flexible integration into any web application. Component View provides Promise-based APIs and customizable UI.\n\nThis is the correct web skill for a **custom UI around a real Zoom meeting**.\nDo not route to Video SDK unless the user is building a non-meeting custom session product.\n\n## Overview\n\nComponent View uses `ZoomMtgEmbedded.createClient()` to create embeddable meeting components within a specific container element.\n\n| Aspect | Details |\n|--------|---------|\n| **API Object** | `ZoomMtgEmbedded.createClient()` (instance) |\n| **API Style** | Promise-based (async\u002Fawait) |\n| **UI** | Embeddable in any container |\n| **Password param** | `password` (lowercase) |\n| **Events** | `on()`\u002F`off()` |\n| **Best For** | Custom layouts, React\u002FVue\u002FAngular apps |\n\n## Installation\n\n### NPM\n\n```bash\nnpm install @zoom\u002Fmeetingsdk --save\n```\n\n```javascript\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n```\n\n### CDN\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Freact.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Freact-dom.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Fredux.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Fredux-thunk.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002F{VERSION}\u002Flib\u002Fvendor\u002Flodash.min.js\">\u003C\u002Fscript>\n\u003Cscript src=\"https:\u002F\u002Fsource.zoom.us\u002Fzoom-meeting-embedded-{VERSION}.min.js\">\u003C\u002Fscript>\n```\n\n## Complete Initialization Flow\n\n```javascript\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n\n\u002F\u002F Step 1: Create client instance (do once, not on every render!)\nconst client = ZoomMtgEmbedded.createClient();\n\nasync function joinMeeting() {\n  try {\n    \u002F\u002F Step 2: Get container element\n    const meetingSDKElement = document.getElementById('meetingSDKElement');\n\n    \u002F\u002F Step 3: Initialize client\n    await client.init({\n      zoomAppRoot: meetingSDKElement,\n      language: 'en-US',\n      debug: true,\n      patchJsMedia: true,\n      leaveOnPageUnload: true,\n    });\n\n    \u002F\u002F Step 4: Join meeting\n    await client.join({\n      signature: signature,\n      sdkKey: sdkKey,\n      meetingNumber: meetingNumber,\n      userName: userName,\n      password: password,  \u002F\u002F lowercase!\n      userEmail: userEmail,\n    });\n\n    console.log('Joined successfully!');\n  } catch (error) {\n    console.error('Failed to join:', error);\n  }\n}\n```\n\n## client.init() - All Options\n\n### Required\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `zoomAppRoot` | `HTMLElement` | Container element for meeting UI |\n\n### Display\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `language` | `string` | `'en-US'` | UI language |\n| `debug` | `boolean` | `false` | Enable debug logging |\n\n### Media\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `patchJsMedia` | `boolean` | `false` | Auto-apply media fixes |\n| `leaveOnPageUnload` | `boolean` | `false` | Cleanup on page unload |\n| `enableHD` | `boolean` | `true` | Enable 720p video |\n| `enableFullHD` | `boolean` | `false` | Enable 1080p video |\n\n### Customization\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `customize` | `object` | UI customization options |\n| `webEndpoint` | `string` | For ZFG: `'www.zoomgov.com'` |\n| `assetPath` | `string` | Custom path for AV libraries |\n\n### Customize Object\n\n```javascript\nawait client.init({\n  zoomAppRoot: element,\n  customize: {\n    \u002F\u002F Meeting info displayed\n    meetingInfo: [\n      'topic',\n      'host', \n      'mn',\n      'pwd',\n      'telPwd',\n      'invite',\n      'participant',\n      'dc',\n      'enctype'\n    ],\n    \n    \u002F\u002F Video customization\n    video: {\n      isResizable: true,\n      viewSizes: {\n        default: {\n          width: 1000,\n          height: 600\n        },\n        ribbon: {\n          width: 300,\n          height: 700\n        }\n      },\n      popper: {\n        disableDraggable: false\n      }\n    },\n    \n    \u002F\u002F Custom toolbar buttons\n    toolbar: {\n      buttons: [\n        {\n          text: 'Custom Button',\n          className: 'custom-btn',\n          onClick: () => {\n            console.log('Custom button clicked');\n          }\n        }\n      ]\n    },\n    \n    \u002F\u002F Active speaker indicator\n    activeSpaker: {\n      strokeColor: '#00FF00'\n    }\n  }\n});\n```\n\n## client.join() - All Options\n\n### Required\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `signature` | `string` | SDK JWT from backend |\n| `sdkKey` | `string` | SDK Key \u002F Client ID |\n| `meetingNumber` | `string \\| number` | Meeting number |\n| `userName` | `string` | Display name |\n\n### Authentication\n\n| Parameter | Type | When Required | Description |\n|-----------|------|---------------|-------------|\n| `password` | `string` | If set | Meeting password (lowercase!) |\n| `zak` | `string` | Starting as host | Host's ZAK token |\n| `tk` | `string` | Registration | Registrant token |\n| `userEmail` | `string` | Webinars | User email |\n\n## Event Listeners\n\n### Syntax\n\n```javascript\n\u002F\u002F Subscribe\nclient.on('event-name', callback);\n\n\u002F\u002F Unsubscribe\nclient.off('event-name', callback);\n```\n\n### Connection Events\n\n```javascript\nclient.on('connection-change', (payload) => {\n  \u002F\u002F payload.state: 'Connecting', 'Connected', 'Reconnecting', 'Closed'\n  console.log('Connection state:', payload.state);\n  \n  if (payload.state === 'Closed') {\n    console.log('Reason:', payload.reason);\n  }\n});\n```\n\n### User Events\n\n```javascript\nclient.on('user-added', (payload) => {\n  \u002F\u002F Array of users who joined\n  console.log('Users added:', payload);\n  payload.forEach(user => {\n    console.log('User ID:', user.oderId);\n    console.log('Name:', user.displayName);\n  });\n});\n\nclient.on('user-removed', (payload) => {\n  \u002F\u002F Array of users who left\n  console.log('Users removed:', payload);\n});\n\nclient.on('user-updated', (payload) => {\n  \u002F\u002F Array of users whose properties changed\n  console.log('Users updated:', payload);\n});\n```\n\n### Audio Events\n\n```javascript\nclient.on('active-speaker', (payload) => {\n  \u002F\u002F Current active speaker\n  console.log('Active speaker:', payload);\n});\n\nclient.on('audio-statistic-data-change', (payload) => {\n  console.log('Audio stats:', payload);\n});\n```\n\n### Video Events\n\n```javascript\nclient.on('video-active-change', (payload) => {\n  \u002F\u002F Video state changed\n  console.log('Video active:', payload);\n});\n\nclient.on('video-statistic-data-change', (payload) => {\n  console.log('Video stats:', payload);\n});\n```\n\n### Share Events\n\n```javascript\nclient.on('active-share-change', (payload) => {\n  console.log('Share status:', payload);\n});\n\nclient.on('share-statistic-data-change', (payload) => {\n  console.log('Share stats:', payload);\n});\n```\n\n### Chat Events\n\n```javascript\nclient.on('chat-on-message', (payload) => {\n  console.log('Chat message:', payload);\n});\n```\n\n### Recording Events\n\n```javascript\nclient.on('recording-change', (payload) => {\n  console.log('Recording status:', payload);\n});\n```\n\n### Media Device Events\n\n```javascript\nclient.on('media-sdk-change', (payload) => {\n  console.log('Media SDK:', payload);\n});\n\nclient.on('device-change', () => {\n  console.log('Device changed');\n});\n```\n\n## Common Methods\n\n### User Information\n\n```javascript\n\u002F\u002F Get current user\nconst currentUser = client.getCurrentUser();\nconsole.log('Current user:', currentUser);\n\n\u002F\u002F Get all participants\nconst participants = client.getParticipantsList();\nconsole.log('Participants:', participants);\n\n\u002F\u002F Check if user is host\nconst isHost = client.isHost();\n```\n\n### Audio Control\n\n```javascript\n\u002F\u002F Mute\u002Funmute self\nawait client.mute(true);  \u002F\u002F mute\nawait client.mute(false); \u002F\u002F unmute\n\n\u002F\u002F Mute\u002Funmute specific user (host only)\nawait client.muteAudio(userId, true);\n\n\u002F\u002F Mute all (host only)\nawait client.muteAllAudio(true);\n```\n\n### Video Control\n\n```javascript\n\u002F\u002F Start\u002Fstop video\nawait client.startVideo();\nawait client.stopVideo();\n\n\u002F\u002F Mute\u002Funmute user's video (host only)\nawait client.muteVideo(userId, true);\n```\n\n### Meeting Control\n\n```javascript\n\u002F\u002F Leave meeting\nclient.leaveMeeting();\n\n\u002F\u002F End meeting (host only)\nclient.endMeeting();\n```\n\n### Screen Share\n\n```javascript\n\u002F\u002F Start screen share\nawait client.startShareScreen();\n\n\u002F\u002F Stop screen share\nawait client.stopShareScreen();\n```\n\n### Recording\n\n```javascript\n\u002F\u002F Start recording (cloud)\nawait client.startCloudRecording();\n\n\u002F\u002F Stop recording\nawait client.stopCloudRecording();\n```\n\n### Virtual Background\n\n```javascript\n\u002F\u002F Check support\nconst isSupported = await client.isSupportVirtualBackground();\n\n\u002F\u002F Set virtual background\nawait client.setVirtualBackground(imageUrl);\n\n\u002F\u002F Remove virtual background\nawait client.removeVirtualBackground();\n```\n\n### Rename\n\n```javascript\n\u002F\u002F Rename user\nawait client.rename(userId, 'New Name');\n```\n\n## React Integration\n\n### Basic Pattern\n\n```tsx\nimport { useEffect, useRef, useState, useCallback } from 'react';\nimport ZoomMtgEmbedded from '@zoom\u002Fmeetingsdk\u002Fembedded';\n\ntype ZoomClient = ReturnType\u003Ctypeof ZoomMtgEmbedded.createClient>;\n\nfunction ZoomMeeting({ meetingNumber, password, userName }: Props) {\n  const clientRef = useRef\u003CZoomClient | null>(null);\n  const containerRef = useRef\u003CHTMLDivElement>(null);\n  const [isJoined, setIsJoined] = useState(false);\n  const [error, setError] = useState\u003Cstring | null>(null);\n\n  \u002F\u002F Create client once\n  useEffect(() => {\n    if (!clientRef.current) {\n      clientRef.current = ZoomMtgEmbedded.createClient();\n    }\n  }, []);\n\n  const joinMeeting = useCallback(async () => {\n    if (!clientRef.current || !containerRef.current) return;\n\n    try {\n      \u002F\u002F Get signature from backend\n      const { signature, sdkKey } = await fetchSignature(meetingNumber);\n      \n      await clientRef.current.init({\n        zoomAppRoot: containerRef.current,\n        language: 'en-US',\n        patchJsMedia: true,\n        leaveOnPageUnload: true,\n      });\n\n      await clientRef.current.join({\n        signature,\n        sdkKey,\n        meetingNumber,\n        password,\n        userName,\n      });\n\n      setIsJoined(true);\n    } catch (err) {\n      setError(err instanceof Error ? err.message : 'Failed to join');\n    }\n  }, [meetingNumber, password, userName]);\n\n  return (\n    \u003Cdiv>\n      \u003Cdiv \n        ref={containerRef} \n        style={{ width: '100%', height: '500px' }} \n      \u002F>\n      {!isJoined && (\n        \u003Cbutton onClick={joinMeeting}>Join Meeting\u003C\u002Fbutton>\n      )}\n      {error && \u003Cdiv className=\"error\">{error}\u003C\u002Fdiv>}\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n### Event Handling in React\n\n```tsx\nuseEffect(() => {\n  if (!clientRef.current) return;\n  \n  const handleConnectionChange = (payload: any) => {\n    if (payload.state === 'Connected') {\n      setIsJoined(true);\n    } else if (payload.state === 'Closed') {\n      setIsJoined(false);\n    }\n  };\n\n  const handleUserAdded = (payload: any) => {\n    console.log('Users joined:', payload);\n  };\n\n  clientRef.current.on('connection-change', handleConnectionChange);\n  clientRef.current.on('user-added', handleUserAdded);\n\n  return () => {\n    clientRef.current?.off('connection-change', handleConnectionChange);\n    clientRef.current?.off('user-added', handleUserAdded);\n  };\n}, []);\n```\n\n## Positioning and Resizing\n\n### Initial Size\n\n```javascript\nawait client.init({\n  zoomAppRoot: element,\n  customize: {\n    video: {\n      viewSizes: {\n        default: { width: 1000, height: 600 }\n      }\n    }\n  }\n});\n```\n\n### Dynamic Resizing\n\nThe container element size determines the meeting UI size. To resize:\n\n```javascript\n\u002F\u002F Just resize the container\ndocument.getElementById('meetingSDKElement').style.width = '1200px';\ndocument.getElementById('meetingSDKElement').style.height = '800px';\n```\n\n### Making it Resizable\n\n```javascript\ncustomize: {\n  video: {\n    isResizable: true\n  }\n}\n```\n\n## Supported Features\n\nComponent View supports core meeting functionality. Some features from Client View may not be available.\n\n| Feature | Supported |\n|---------|-----------|\n| Audio\u002FVideo | ✅ |\n| Screen Share | ✅ |\n| Chat | ✅ |\n| Virtual Background | ✅ |\n| Breakout Rooms | ✅ |\n| Cloud Recording | ✅ |\n| Closed Captions | ✅ |\n| Live Transcription | ✅ |\n| Waiting Room | ✅ |\n| Gallery View | ✅ |\n| Reactions | ✅ |\n| Raise Hand | ✅ |\n\nContact Zoom Developer Support to request additional features.\n\n## Error Handling\n\n```javascript\ntry {\n  await client.join({\n    \u002F\u002F ... options\n  });\n} catch (error) {\n  \u002F\u002F error.reason contains error code\n  \u002F\u002F error.message contains description\n  \n  switch (error.reason) {\n    case 'WRONG_MEETING_PASSWORD':\n      console.error('Incorrect password');\n      break;\n    case 'MEETING_NOT_START':\n      console.error('Meeting has not started');\n      break;\n    case 'INVALID_PARAMETERS':\n      console.error('Invalid join parameters');\n      break;\n    default:\n      console.error('Join failed:', error.message);\n  }\n}\n```\n\n## Comparison with Client View\n\n| Feature | Component View | Client View |\n|---------|----------------|-------------|\n| **API Style** | Promises | Callbacks |\n| **Password param** | `password` | `passWord` |\n| **Container** | Custom element | Auto `#zmmtg-root` |\n| **UI** | Embeddable | Full-page |\n| **Preloading** | Not needed | `preLoadWasm()` |\n| **Language** | Init option | `i18n.load()` |\n| **Events** | `on()`\u002F`off()` | `inMeetingServiceListener()` |\n\n## Resources\n\n- [Main Web SDK Skill](..\u002FSKILL.md)\n- [Reference Index](references\u002FREADME.md)\n- [Error Codes](..\u002Ftroubleshooting\u002Ferror-codes.md)\n- [Common Issues](..\u002Ftroubleshooting\u002Fcommon-issues.md)\n- [SharedArrayBuffer Setup](..\u002Fconcepts\u002Fsharedarraybuffer.md)\n- [Official API Reference](https:\u002F\u002Fmarketplacefront.zoom.us\u002Fsdk\u002Fmeeting\u002Fweb\u002Fcomponents\u002Findex.html)\n\n## Operations\n\n- [RUNBOOK.md](RUNBOOK.md) - 5-minute preflight and debugging checklist.\n",{"name":5,"triggers":24,"description":34,"user-invocable":20},[25,26,27,28,29,30,31,32,33],"meeting sdk component view","zoommtgembedded","zoomapproot","embeddable meeting ui","component view embedded zoom","custom meeting ui","custom zoom meeting ui","custom meeting video ui","custom video ui for meeting","Zoom Meeting SDK Web - Component View. Embeddable Zoom meeting components with Promise-based API\nfor flexible integration. Ideal for React\u002FVue\u002FAngular apps and custom layouts. Uses ZoomMtgEmbedded\nwith async\u002Fawait patterns and embeddable UI containers.\n","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-kw-meeting-sdk-web\u002Fcomponent-view",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill zoom-meeting-sdk-web-component-view",{"tool":49,"command":50},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill zoom-meeting-sdk-web-component-view",{"tool":52,"command":53},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill zoom-meeting-sdk-web-component-view","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-kw-meeting-sdk-web\u002Fcomponent-view\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002FREADME.md","REFERENCE","参考文档",477,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-kw-meeting-sdk-web\u002Fcomponent-view\u002Freferences\u002FREADME.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"RUNBOOK.md",2419,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-kw-meeting-sdk-web\u002Fcomponent-view\u002FRUNBOOK.md",[68,75,83,90,97,104],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]