diff --git a/packages/shared/components/molecules/NftMedia.svelte b/packages/shared/components/molecules/NftMedia.svelte index 24f65f8efa2..27b424aa273 100644 --- a/packages/shared/components/molecules/NftMedia.svelte +++ b/packages/shared/components/molecules/NftMedia.svelte @@ -87,29 +87,13 @@ {backupUrl} expectedType={nft.parsedMetadata.type} alt={`Media display for ${nft.name}`} - classes="hidden {classes}" + {autoplay} + {controls} + {loop} + {muted} + classes="{isLoaded ? '' : 'hidden'} {classes}" onLoad={handleOnLoad} onError={handleLoadingError} onWarning={handleWarning} /> - - {#if !isLoaded} - - - - {:else} - - {/if} {/if}