Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

handle mov file

Fendy Heryanto821a77167d12
diff --git a/packages/nc-gui/components/cell/attachment/Preview/Video.vue b/packages/nc-gui/components/cell/attachment/Preview/Video.vue
index 8a55dcafa0..95cde65c11 100644
--- a/packages/nc-gui/components/cell/attachment/Preview/Video.vue
+++ b/packages/nc-gui/components/cell/attachment/Preview/Video.vue
@@ -47,7 +47,20 @@ const handleError = async () => {
</script>
<template>
+ <template v-if="mimeType === 'video/quicktime' && props.src?.length">
+ <video
+ ref="videoPlayer"
+ controls
+ playsinline
+ :src="props.src[0]"
+ :class="{
+ [props.class]: props.class,
+ }"
+ class="videoplayer !min-w-128 !min-h-72 w-full h-auto"
+ ></video>
+ </template>
<video
+ v-else
ref="videoPlayer"
controls
playsinline