ZhangXianQiang
2024-06-13 6c34d8df858b0c795dd06da0962c22f9d1c40bd2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<template>
  <div class="meet-container w-screen h-screen">
    <div id="meet" ref="meet"></div>
  </div>
</template>
 
<script setup>
import { ref, onMounted } from 'vue';
const meet = ref(null);
onMounted(() => {
  const width = window.innerWidth;
  const height = window.innerHeight;
  const domain = 'ycl.easyblog.vip:8443';
  const options = {
    roomName: 'test',
    width: width,
    height: height,
    parentNode: meet.value,
    lang: 'zh_CN',
    configOverwrite: {
      prejoinConfig: {
        enabled: false
      }
    },
  };
  const api = new JitsiMeetExternalAPI(domain, options);
});
</script>
 
<style lang="scss" scoped></style>