Created
April 3, 2022 16:14
-
-
Save MarkusPint/9396ca12a729618719c8b6e7167d169b to your computer and use it in GitHub Desktop.
zoom-meeting-sdk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.3.5/css/bootstrap.css" /> | |
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.3.5/css/react-select.css" /> | |
</head> | |
<body> | |
<!-- added on import --> | |
<div id="zmmtg-root"></div> | |
<div id="aria-notify-area"></div> | |
<script src="https://source.zoom.us/2.3.5/lib/vendor/react.min.js"></script> | |
<script src="https://source.zoom.us/2.3.5/lib/vendor/react-dom.min.js"></script> | |
<script src="https://source.zoom.us/2.3.5/lib/vendor/redux.min.js"></script> | |
<script src="https://source.zoom.us/2.3.5/lib/vendor/redux-thunk.min.js"></script> | |
<script src="https://source.zoom.us/2.3.5/lib/vendor/lodash.min.js"></script> | |
<script src="https://source.zoom.us/zoom-meeting-2.3.5.min.js"></script> | |
<script> | |
ZoomMtg.setZoomJSLib('https://source.zoom.us/2.3.5/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 leaveUrl = 'http://localhost:9999/thanks-for-joining.html' | |
ZoomMtg.init({ | |
leaveUrl: leaveUrl, | |
isSupportAV: true, | |
success: (success) => { | |
console.log(success) | |
ZoomMtg.join({ | |
signature: '<SIGNATURE>', | |
apiKey: '<JWT_API_KEY>', | |
meetingNumber: '87270695528', | |
userName: 'tester', | |
passWord: '', | |
success: (success) => { | |
console.log(success); | |
}, | |
error: (error) => { | |
console.log(error); | |
}, | |
}); | |
}, | |
error: (error) => { | |
console.log(error) | |
} | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment