Skip to content

Commit

Permalink
Merge pull request #6061 from roiLeo/fix/media/video
Browse files Browse the repository at this point in the history
🔧 video media item
  • Loading branch information
roiLeo authored May 23, 2023
2 parents 40603b6 + 137ba08 commit 3705689
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/ui/src/components/MediaItem/type/VideoMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
loop
autoplay
muted
:src="animationSrc"
:src="animationSrc || src"
controlslist="nodownload"
data-cy="type-video"
:title="alt" />
Expand All @@ -18,6 +18,7 @@
<script lang="ts" setup>
defineProps<{
animationSrc?: string
src?: string
alt?: string
}>()
</script>
Expand Down

0 comments on commit 3705689

Please sign in to comment.