Hi!
I have the need to include an animated interactive 3D model to a wordpress installation. I have identified the options of using Sketchfab, Unity or playcanvas. I’ve tried sketchfab which provide an easy embed code and also give me transparent background. I tried using the hosted playcanvas in an iframe but I feel it’s somewhat limited since I’m stuck with an iframe. I’d like to try and see if a self hosted version of the same work better.
However, I’m clueless on how to get the neccessary code into wordpress. I’m using a theme called Divi and they provide a nice Code module where I can place any code. It works fine for the embed and the iframe, but my question comes down to the self hosting of the assets. What’s the best practice on where and how should I place them (javascrip files and 3d assets and textures and everything) in order to refer to them in the Code module while editing my wordpress page?
Best regards.
Björn