🤙Vue Jitsi Meet

Vue component for Jitsi Meet Web Integration via IFrame.

Vue component for Jitsi Meet Web Integration via IFrame.

NOTE: Always refer to the official Jitsi Meet IFrame API Docsarrow-up-right.

Installation

YARN

$ yarn add @mycure/vue-jitsi-meet

NPM

$ npm install @mycure/vue-jitsi-meet

Props

Prop
Type
Description

Usage

<template>
  <vue-jitsi-meet
    ref="jitsiRef"
    domain="meet.jit.si"
    :options="jitsiOptions"
  ></vue-jitsi-meet>
</template>

<script>
import { JitsiMeet } from '@mycure/vue-jitsi-meet';
export default {
  components: {
    VueJitsiMeet: JitsiMeet
  },
  computed: {
    jitsiOptions () {
      return {
        roomName: 'some-room-name',
        noSSL: false,
        userInfo: {
          email: '[email protected]',
          displayName: '',
        },
        configOverwrite: {
          enableNoisyMicDetection: false
        },
        interfaceConfigOverwrite: {
          SHOW_JITSI_WATERMARK: false,
          SHOW_WATERMARK_FOR_GUESTS: false,
          SHOW_CHROME_EXTENSION_BANNER: false
        },
        onload: this.onIFrameLoad
      };
    },
  },
  methods: {
    onIFrameLoad () {
      // do stuff
    },
  },
};
</script>

Domain, and Options

This plugin supports all options available in the Jitsi IFrame API Documentationarrow-up-right.

Usage

Just bind the jitsi option object to the options property.

Events

Methods

addEventListener(eventName, handler)

To create an event, you must specify a ref in the JitsiMeet component. This ref is required to access the methods in the JitMeet component.

Execute Command

Commands Documentationarrow-up-right

Methods

executeCommand(commandName, arg1, arg2, ...args)

Control the embedded JitsiMeet conference using the executeCommand method. Similar to the eventsarrow-up-right, this can also be achieved using ref.

Last updated

Was this helpful?