mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
15 lines
358 B
Vue
15 lines
358 B
Vue
|
|
<template>
|
||
|
|
<Base :attachment="attachment">
|
||
|
|
<video :src="attachment.url" :alt="attachment.description ?? undefined" controls />
|
||
|
|
</Base>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script lang="ts" setup>
|
||
|
|
import type { Attachment } from "@versia/client/types";
|
||
|
|
import Base from "./base.vue";
|
||
|
|
|
||
|
|
const { attachment } = defineProps<{
|
||
|
|
attachment: Attachment;
|
||
|
|
}>();
|
||
|
|
</script>
|