<template>
  <figure>
    <iframe :src="data.embed" :height="data.height" frameborder="0" allowfullscreen class="w-full"></iframe>

    <figcaption v-html="data.caption"></figcaption>
  </figure>
</template>

<script>
export default {
  props: ["data"],
};
</script>

<style>
</style>