Skip to content

Commit

Permalink
updated to version 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygaessler committed Jan 10, 2024
1 parent a9e4f6a commit ff4d347
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 50 deletions.
15 changes: 0 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,10 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zoom Meeting SDK Vue.js Sample</title>

<!-- For Client View -->
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.18.2/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.18.2/css/react-select.css" />

<!-- Origin Trials to enable Gallery View in Chrome/Edge -->
<!-- More Info: https://developers.zoom.us/docs/meeting-sdk/web/gallery-view/ -->
<!-- SharedArrayBuffers in non-isolated pages on Desktop platforms -->
</head>
<body>
<div id="app"></div>

<!-- For Client View -->
<script src="https://source.zoom.us/2.18.2/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.18.2/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.18.2/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.18.2/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.18.2/lib/vendor/lodash.min.js"></script>

<script type="module" src="/src/main.js"></script>
</body>
</html>
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meetingsdk-vuejs-sample",
"version": "2.18.2",
"version": "3.1.2",
"private": true,
"author": "Zoom Video Communications, Inc.",
"contributors": [
Expand All @@ -17,7 +17,7 @@
"preview": "vite preview"
},
"dependencies": {
"@zoomus/websdk": "^2.18.2",
"@zoom/meetingsdk": "^3.1.2",
"vue": "^3.3.4"
},
"devDependencies": {
Expand Down
7 changes: 2 additions & 5 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<script setup>
import { ZoomMtg } from '@zoomus/websdk';
import { ZoomMtg } from '@zoom/meetingsdk';
ZoomMtg.setZoomJSLib('https://source.zoom.us/2.18.2/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
// loads language files, also passes any error messages to the ui
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');
var authEndpoint = ''
var sdkKey = ''
Expand Down Expand Up @@ -41,6 +37,7 @@ function startMeeting(signature) {
ZoomMtg.init({
leaveUrl: leaveUrl,
patchJsMedia: true,
success: (success) => {
console.log(success);
ZoomMtg.join({
Expand Down
6 changes: 3 additions & 3 deletions src/components/HelloWorldNew.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import ZoomMtgEmbedded from '@zoomus/websdk/embedded';
import ZoomMtgEmbedded from '@zoom/meetingsdk/embedded';
var client = ZoomMtgEmbedded.createClient()
var authEndpoint = ''
Expand Down Expand Up @@ -32,7 +32,7 @@ function getSignature() {
function startMeeting(signature) {
let meetingSDKElement = document.getElementById('meetingSDKElement');
client.init({zoomAppRoot: meetingSDKElement, language: 'en-US'}).then(() => {
client.init({zoomAppRoot: meetingSDKElement, language: 'en-US', patchJsMedia: true}).then(() => {
client.join({
signature: signature,
sdkKey: sdkKey,
Expand All @@ -43,7 +43,7 @@ function startMeeting(signature) {
tk: registrantToken,
zak: zakToken
}).then(() => {
console.log('joined succesfully')
console.log('joined successfully')
}).catch((error) => {
console.log(error)
})
Expand Down

0 comments on commit ff4d347

Please sign in to comment.