forward

This button is configured with below provided config

This is Joinee website

This website should be the one where a user may come with a meeting code and join a meeting


Include the following code in your website

          <meeting-button></meeting-button>
          
          <div id="call-container" class="hide"></div>
          
          <script src="https://d3rbcf4kjprp09.cloudfront.net/website/demoscripts/beem_button_v_0.3.js" 
            defer</script>
          
          <script>  

            window.onload = () => {
              let container = document.getElementById('call-container');
              let meetingButton = document.querySelector('meeting-button');
              meetingButton.configure(container, {
                isInitiator: false,
                initiatorParentURL: 'https://intecorp.net/caller',
                joineeParentURL: 'https://intecorp.net/joinee',
                height: '50px', //optional
                width: '160px', //optional
                textColor: '#ffc107', //optional
                iconHeight: '28px', //optional
                iconWidth: '28px', //optional
                fontSize: '1.2rem', //optional
                background: '#e91e63', //optional
                // iconUrl: 'https://google.com/images/123'//
              });

              meetingButton.onReady = () => {
                container.classList.remove('hide');
              }
              
              meetingButton.onEnd = () => {
                container.classList.add('hide');
              }
            }

          </script>