Untitled

mail@pastecode.io avatar
unknown
html
3 years ago
608 B
1
Indexable
Never
<html>
  <button id="start-mtg-button">ミーティング開始</button>
  <div id="main"></div>
  
  <script type="text/javascript">
    const meetingName = Date.now();
    const displayName = 'さとし';

    document.getElementById("start-mtg-button").onclick = function() {
      document.getElementById("main").innerHTML = 
        "<iframe title='chime player' src='https://<xxxxx>.execute-api.ap-northeast-1.amazonaws.com/Prod/"
        + "?express=true&m="+meetingName+"&n="+displayName
        + "' allow='camera; microphone; display-capture' width='80%' height='80%'/>";
    };
  </script>
</html>