From 0520afceb773fe9bde9d02851e32cbba475e2e20 Mon Sep 17 00:00:00 2001 From: tommygaessler Date: Thu, 22 Jul 2021 13:40:20 -0600 Subject: [PATCH] updated to web client sdk 1.9.7 and added registrant token example --- package.json | 2 +- public/index.html | 16 ++++++++-------- src/components/HelloWorld.vue | 11 ++++++++--- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 78a6c61..56ef72e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "websdk-sample-vuejs", - "version": "1.9.6", + "version": "1.9.7", "private": true, "author": "Max Mansfield", "scripts": { diff --git a/public/index.html b/public/index.html index 409f8dd..da2183a 100644 --- a/public/index.html +++ b/public/index.html @@ -7,20 +7,20 @@ <%= htmlWebpackPlugin.options.title %> - - + +
- - - - - - + + + + + + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index e9260d1..2f603d8 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -11,9 +11,9 @@ import axios from "axios"; export default { name: 'HelloWorld', created () { - this.ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.6/lib', '/av'); + this.ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.7/lib', '/av'); this.ZoomMtg.preLoadWasm(); - this.ZoomMtg.prepareJssdk(); + this.ZoomMtg.prepareWebSDK(); // loads language files, also passes any error messages to the ui this.ZoomMtg.i18n.load('en-US'); this.ZoomMtg.i18n.reload('en-US'); @@ -32,7 +32,11 @@ export default { role: 0, signatureEndpoint: "", userEmail: "", - userName: "Vue.js" + userName: "Vue.js", + // pass in the registrant's token if your meeting or webinar requires registration. More info here: + // Meetings: https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/meetings/join#join-registered + // Webinars: https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/webinars/join#join-registered-webinar + registrantToken: '' } }, methods: { @@ -64,6 +68,7 @@ export default { apiKey: this.apiKey, userEmail: this.userEmail, passWord: this.passWord, + tk: this.registrantToken, success: (success) => { console.log(success); },