Is it possible to embed and show <object>?


(Daniel Nevoigt) #1

Hello friends,

I am woundering if I could be somehow embed the following code and show the image:

<object type="image/svg+xml" data="https://o.smium.org/api/convert/7899/svg/7899-pvp-vexor.svg"><a href="https://o.smium.org/loadout/7899">View PVP Vexor on Osmium</a></object>

I am planning a section with discussion about those inGame ship fittings, and it would be beautiful if they could be directly embedded without any hustle of work.

Thanks for help,
Daniel


(Sam Saffron) #2

This is not trivial but you could make a custom onebox that lets this through. This would require authoring a plugin. Have a look at the onebox repo at GitHub for examples.


(Daniel Nevoigt) #3

Thanks a lot for the tip. I still have to learn a lot, so after some learning progress I will have a look if I am able to do it :slight_smile: