Fantom-foundation/Artion-Client

Any plans on adding html file support?

Closed this issue · 2 comments

Hello,
According to OpenSea metadata specification, animation_url field supports html files. Seems like Artion does not support yet. Would you consider adding something like that or are you against it because of security concerns? I would like to submit a pr for it.

For an example OpenSea's sandboxed iframe element:

<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="100%" sandbox="allow-scripts" src="" width="100%" style="min-height: 500px;"></iframe>

Naïve solution can be seen here:
predatorx6x9x@6de9384

@quan8 any reasons closing it? artion.io still uses this version.