Skip to content

Commit a72f322

Browse files
committed
updated to version 1.12.1-1
1 parent 4f48c63 commit a72f322

File tree

4 files changed

+25
-11
lines changed

4 files changed

+25
-11
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To get started, clone the repo:
3030
| Variable | Description |
3131
| -----------------------|-------------|
3232
| authEndpoint | Required, your Video SDK auth endpoint that securely generates a Video SDK JWT. [Get a Video SDK auth endpoint here.](https://github.com/zoom/videosdk-auth-endpoint-sample) |
33-
| config | Your Video SDK [session details](https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/#join-session) and [enabled features](https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/#supported-features). The `videoSDKJWT` will be set from the response of your `authEndpoint`. |
33+
| config | Your Video SDK [session details](https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/#create-a-configuration-object) and [enabled features](https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/#supported-features). The `videoSDKJWT` will be set from the response of your `authEndpoint`. |
3434
| role | Required, `0` to specify participant, `1` to specify host. |
3535

3636
Example:
@@ -42,7 +42,13 @@ To get started, clone the repo:
4242
sessionName: 'test',
4343
userName: 'ZoomDev',
4444
sessionPasscode: '123',
45-
features: ['video', 'audio', 'settings', 'users', 'chat', 'share']
45+
features: ['preview', 'video', 'audio', 'settings', 'users', 'chat', 'share'],
46+
options: { init: {}, audio: {}, video: {}, share: {}},
47+
virtualBackground: {
48+
allowVirtualBackground: true,
49+
allowVirtualBackgroundUpload: true,
50+
virtualBackgrounds: ['https://images.unsplash.com/photo-1715490187538-30a365fa05bd?q=80&w=1945&auto=format&fit=crop']
51+
}
4652
};
4753
var role = 1
4854
```

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "videosdk-ui-toolkit-vuejs-sample",
3-
"version": "1.10.8-1",
3+
"version": "1.12.1-1",
44
"author": "Zoom Video Communications, Inc.",
55
"contributors": [
66
{
@@ -14,7 +14,7 @@
1414
"preview": "vite preview"
1515
},
1616
"dependencies": {
17-
"@zoom/videosdk-ui-toolkit": "^1.10.8-1",
17+
"@zoom/videosdk-ui-toolkit": "^1.12.1-1",
1818
"vue": "^3.3.4"
1919
},
2020
"devDependencies": {

src/components/HelloWorld.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
sessionName: 'test',
1111
userName: 'Vue.js',
1212
sessionPasscode: '123',
13-
features: ['video', 'audio', 'settings', 'users', 'chat', 'share']
13+
features: ['preview', 'video', 'audio', 'settings', 'users', 'chat', 'share'],
14+
options: { init: {}, audio: {}, video: {}, share: {}},
15+
virtualBackground: {
16+
allowVirtualBackground: true,
17+
allowVirtualBackgroundUpload: true,
18+
virtualBackgrounds: ['https://images.unsplash.com/photo-1715490187538-30a365fa05bd?q=80&w=1945&auto=format&fit=crop']
19+
}
1420
};
1521
var role = 1
1622
@@ -21,6 +27,7 @@
2127
2228
fetch(authEndpoint, {
2329
method: 'POST',
30+
headers: { 'Content-Type': 'application/json' },
2431
body: JSON.stringify({
2532
sessionName: config.sessionName,
2633
role: role,

0 commit comments

Comments
 (0)