Skip to content

Commit

Permalink
updated to 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygaessler committed May 24, 2024
1 parent 4d07ff1 commit 3d8ad27
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To get started, clone the repo:
| userName | Required, a name for the user joining / starting the meeting / webinar. |
| userEmail | Required for Webinar, optional for Meeting, required for meeting and webinar if [registration is required](https://support.zoom.us/hc/en-us/articles/360054446052-Managing-meeting-and-webinar-registration). The email of the user starting or joining the meeting / webinar. |
| registrantToken | Required if your [meeting](https://developers.zoom.us/docs/meeting-sdk/web/client-view/meetings/#join-meeting-with-registration-required) or [webinar](https://developers.zoom.us/docs/meeting-sdk/web/client-view/webinars/#join-webinar-with-registration-required) requires [registration](https://support.zoom.us/hc/en-us/articles/360054446052-Managing-meeting-and-webinar-registration). |
| zakToken | Required to start meetings or webinars on external Zoom user's behalf, the [authorized Zoom user's ZAK token](https://developers.zoom.us/docs/meeting-sdk/auth/#start-meetings-and-webinars-with-a-zoom-users-zak-token). |
| zakToken | Required to start meetings or webinars on external Zoom user's behalf, the [authorized Zoom user's ZAK token](https://developers.zoom.us/docs/meeting-sdk/auth/#start-meetings-and-webinars-with-a-zoom-users-zak-token). The ZAK can also be used to join as an [authenticated participant](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0063837). |
| leaveUrl | Required for Client View, the url the user is taken to once the meeting is over. |

Example:
Expand Down
1 change: 1 addition & 0 deletions client-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function startMeeting(signature) {
ZoomMtg.init({
leaveUrl: leaveUrl,
patchJsMedia: true,
leaveOnPageUnload: true,
success: (success) => {
console.log(success)
ZoomMtg.join({
Expand Down
2 changes: 1 addition & 1 deletion component-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getSignature() {

function startMeeting(signature) {

client.init({zoomAppRoot: meetingSDKElement, language: 'en-US', patchJsMedia: true}).then(() => {
client.init({zoomAppRoot: meetingSDKElement, language: 'en-US', patchJsMedia: true, leaveOnPageUnload: true}).then(() => {
client.join({
signature: signature,
sdkKey: sdkKey,
Expand Down
Binary file modified images/meetingsdk-web-client-view.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/meetingsdk-web-component-view.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ <h1>Zoom Meeting SDK Sample JavaScript</h1>
</main>

<!-- Dependencies for client view and component view -->
<script src="https://source.zoom.us/3.6.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.6.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.6.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.6.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.6.0/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/3.7.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/3.7.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/3.7.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/3.7.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/3.7.0/lib/vendor/lodash.min.js"></script>

<!-- For Client View -->
<script src="https://source.zoom.us/zoom-meeting-3.6.0.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-3.7.0.min.js"></script>
<script type="text/javascript" src="client-view.js"></script>

<!-- For Component View -->
<!-- <script src="https://source.zoom.us/3.6.0/zoom-meeting-embedded-3.6.0.min.js"></script>
<!-- <script src="https://source.zoom.us/3.7.0/zoom-meeting-embedded-3.7.0.min.js"></script>
<script type="text/javascript" src="component-view.js"></script> -->

</body>
Expand Down

0 comments on commit 3d8ad27

Please sign in to comment.