2021-08-17 10:28:03 +02:00
|
|
|
<template>
|
|
|
|
<div class="jitsi-meet">
|
|
|
|
<div class="jitsi-meet-video" v-if="metadata">
|
|
|
|
<iframe
|
|
|
|
allow="camera; microphone; fullscreen; display-capture; autoplay"
|
|
|
|
:src="metadata.value"
|
|
|
|
style="height: 100%; width: 100%; border: 0px"
|
|
|
|
></iframe>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2022-07-12 10:55:28 +02:00
|
|
|
<script lang="ts" setup>
|
2021-08-17 10:28:03 +02:00
|
|
|
import { IEventMetadataDescription } from "@/types/event-metadata";
|
2022-07-12 10:55:28 +02:00
|
|
|
defineProps<{ metadata: IEventMetadataDescription }>();
|
2021-08-17 10:28:03 +02:00
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.jitsi-meet {
|
|
|
|
.jitsi-meet-video {
|
|
|
|
padding-top: 56.25%;
|
|
|
|
position: relative;
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|