Skip to content

Commit 4fef91d

Browse files
PikaJoyceJoyce Ma
andauthored
2.1.10 update (#3)
* Updated video sdk ui toolkit version, fixed css --------- Co-authored-by: Joyce Ma <[email protected]>
1 parent af2e7a6 commit 4fef91d

File tree

4 files changed

+255
-16
lines changed

4 files changed

+255
-16
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"preview": "vite preview"
1515
},
1616
"dependencies": {
17-
"@zoom/videosdk-ui-toolkit": "^2.1.0-1",
17+
"@zoom/videosdk-ui-toolkit": "2.1.10-1",
1818
"vue": "^3.3.4"
1919
},
2020
"devDependencies": {

src/assets/main.css

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ body {
66
-webkit-font-smoothing: antialiased;
77
-moz-osx-font-smoothing: grayscale;
88
}
9-
9+
1010
html, body {
1111
min-width: 0 !important;
1212
}
1313

1414
main {
15-
width: 70%;
15+
width: 100vw;
16+
height: 100vh;
1617
margin: auto;
18+
}
19+
20+
main #join-flow {
1721
text-align: center;
1822
}
1923

@@ -35,4 +39,9 @@ main #join-flow button {
3539

3640
main #join-flow button:hover {
3741
background-color: #2681F2;
38-
}
42+
}
43+
44+
#sessionContainer {
45+
width: 100%;
46+
height: 100%;
47+
}

src/components/HelloWorld.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010
sessionName: 'test',
1111
userName: 'Vue.js',
1212
sessionPasscode: '123',
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-
}
13+
featuresOptions: {
14+
virtualBackground: {
15+
enable: true,
16+
virtualBackgrounds: [
17+
{
18+
url: 'https://images.unsplash.com/photo-1715490187538-30a365fa05bd?q=80&w=1945&auto=format&fit=crop'
19+
},
20+
],
21+
},
22+
},
2023
};
2124
var role = 1
2225

0 commit comments

Comments
 (0)