Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.

Commit 108c7d3

Browse files
committed
fix: NFTItem display (using auto-detect source for video tag)
1 parent d103062 commit 108c7d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/NFT/NFTItem.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
width: size + 'px',
1515
height: size + 'px',
1616
}"
17+
:src="imageUrl"
1718
class="nft-item"
1819
autoplay
1920
loop
2021
muted
21-
>
22-
<source :src="imageUrl" :type="`video/${imageUrl.substring(imageUrl.lastIndexOf('.') + 1)}`" />
23-
</video>
22+
/>
2423
</template>
2524

2625
<script lang="ts">

0 commit comments

Comments
 (0)