Skip to content

Commit

Permalink
updated to web client sdk 1.9.7 and added registrant token example
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygaessler committed Jul 22, 2021
1 parent 07a7535 commit 0520afc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "websdk-sample-vuejs",
"version": "1.9.6",
"version": "1.9.7",
"private": true,
"author": "Max Mansfield",
"scripts": {
Expand Down
16 changes: 8 additions & 8 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>

<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.6/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.6/css/react-select.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.7/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.9.7/css/react-select.css" />
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script src="https://source.zoom.us/1.9.6/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.9.6/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.9.6/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.9.6/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.9.6/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-1.9.6.min.js"></script>
<script src="https://source.zoom.us/1.9.7/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.9.7/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.9.7/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.9.7/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.9.7/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-1.9.7.min.js"></script>
<!-- built files will be auto injected -->
</body>
</html>
11 changes: 8 additions & 3 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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: {
Expand Down Expand Up @@ -64,6 +68,7 @@ export default {
apiKey: this.apiKey,
userEmail: this.userEmail,
passWord: this.passWord,
tk: this.registrantToken,
success: (success) => {
console.log(success);
},
Expand Down

0 comments on commit 0520afc

Please sign in to comment.