Created
December 10, 2022 07:35
-
-
Save ryanbekabe/ad594716c3a8e8ed1c227534b7469b6c to your computer and use it in GitHub Desktop.
Jisimeet
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<br/><input type='hidden' id='id' name='id' size='30' value='anon'></input> | |
<script src="https://meet.jit.si/external_api.js"></script> | |
<div class="col-lg-9 col-md-8"> | |
<div class="company-title2"> | |
<h3><i class="fa fa-camera"></i> VCall - Room </h3> | |
</div> | |
<div class="posts-section"> | |
<div class="post-bar"> | |
<div class="post_topbar"> | |
<div class="container" > | |
<div id='jitsi-meet-conf-container'></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script type="text/javascript"> | |
StartMeeting(); | |
var apiObj = null; | |
var base_url = "https://vc.rhs.im"; | |
function StartMeeting(){ | |
const domain = 'meet.jit.si'; | |
var id = "1"; | |
const options = { | |
roomName: "vc.rhs.im", | |
width: '100%', | |
height: 500, | |
parentNode: document.querySelector('#jitsi-meet-conf-container'), | |
userInfo: { | |
displayName: 'RHS.IM' | |
}, | |
configOverwrite:{ | |
startWithAudioMuted: false, | |
enableWelcomePage: true, | |
disableRemoteMute: true | |
}, | |
interfaceConfigOverwrite: { | |
filmStripOnly: false, | |
SHOW_JITSI_WATERMARK: false, | |
SHOW_WATERMARK_FOR_GUESTS: true, | |
}, | |
onload: function () { | |
$.post("https://google.com",{id:id},function(data){ | |
alertify.success(data); | |
}) | |
} | |
}; | |
apiObj = new JitsiMeetExternalAPI(domain, options); | |
apiObj.addEventListeners({ | |
readyToClose: function () { | |
$.post("https://google.com",{id:id},function(data){ | |
alertify.alert("Terimakasih, Anda menutup video conference ini"); | |
location.href= data; | |
}) | |
} | |
}); | |
apiObj.executeCommand('subject', 'Room'); | |
apiObj.executeCommand('avatarUrl', ''); | |
} | |
function HangupCall(){ | |
apiObj.executeCommand('hangup'); | |
} | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment