nfte icon indicating copy to clipboard operation
nfte copied to clipboard

Add support for Catalog Works schema

Open musashi-mythic-labs opened this issue 4 years ago • 2 comments
trafficstars

musashi-mythic-labs avatar Apr 27 '21 22:04 musashi-mythic-labs

@patrickxrivera is attempting to deploy a commit to the Contextart Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 27 '21 22:04 vercel[bot]

Quick context on this! We needed a way to support a schema which Catalog Works uses. It’s based on zNFTs, and the contract address is the same as Zora. For Catalog, both a music file and an image should be displayed. To support this, we introduced an optional mediaURLSecondary property. Within our custom NFT component on Mirror, when the NFT type is audio and mediaURLSecondary is present, we display it as an image.

There may be a cleaner implementation. This could be also useful in the future for a video with an image thumbnail.

jondashkyle avatar Apr 27 '21 22:04 jondashkyle